Mattias Gärtner schrieb:
>> raised ?
> 
> It should be raised in the starter thread. The question is how to
> - stop an exception in a thread (try..except)
> - give it to another thread - the starter thread (giving the object is easy, 
> but
> ...)
> - continue the helper thread (this will normally free the exception object, I
> need a way to avoid this automatism)

This is why I told you to have a look how Synchronize works ;) Hint:
AcquireExceptionObject/ReleaseExceptionObject which implement simply
ref. counting which is respected by the exception handling code.
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to