Is the Synchronize method of a thread able to execute when the thread is
Suspended?

e.g if the following instructions are executed in succession

    Synchronize(@DispatchOutput);
    Suspend;

After the Execute has performed an instance of the thread's main task, I
want the to wait until the Synchronize is performed by the main thread, so
the Resume is executed in the Synchronize(@DispatchOutput) code. Is that a
correct way of working?


-- 
Frank Church

=======================
http://devblog.brahmancreations.com
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to