Skip to content

Conversation

@ToniKoehler
Copy link

If you need to know on which worker you running in DebugMode or you work with you own error handler, now the workernum is returned by parameter lcCode of ReturnError() and you can access public var gnParallelWorkerNum everywere inside your worker.

parallelfox.vca from original VFPX repository is not proper version to parallelfox.vcx/.vct, so first create correct .vca with SourceSafe
If, for some reason, one or more workers crash and either parallelfox.exe or a thread stops working, the Parallel.Wait() call in the main process will continue waiting for that "busy" worker without realizing that it has crashed. This results in a deadlock. To prevent this, we now check both the Out-of-Process and In-Process workers to ensure they are still alive.
…or handling

If you need to know on which worker you running in DebugMode or you work with you own error handler, now the workernum is returned by parameter lcCode of ReturnError() and you can access public var gnParallelWorkerNum everywere inside your worker.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant