Le 05/09/2012 14:23, Michael Schnell a écrit :
On 09/05/2012 11:35 AM, Antonio Fortuny wrote:
use a semaphore...
You can't easily wait on a semaphore in the main thread. (In fact you
can't wait at all.)
Sorry, bad word: TEvent instead as it allows a WaitForSingleObject
I've already implemented TEvents between treads with success.
IMHO it's easy and straight-forward to use TApplication.QueueAsyncCall()
Not yet explored this but I will.
for this.
-Michael.,
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus