I'm writing a unit to simplify parallel methods/procedures.

For example:
  DoParallel(@AMethod,StartIndex,EndIndex,Data);

The AMethod is executed with several threads in parallel.

What should happen when an exception occurs?
It would be nice if the exception can be transfered to the main thread.
Is this possible? How?


Mattias

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to