Martin Schreiber wrote:
> You are right, there seems to be no race condition if one uses WakeMainThread 
> correct. There can be a deadlock if the main thread tries to destroy a thread 
> which is waiting for Synchronize.

Hmm I think this is a very stupid idea to do. The thread will continue
to execute something so I don't think this is supported. Like destroying
a component in an event handler.

Micha

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to