[Lazarus] lnet component

Michael Schnell mschnell at lumino.de
Wed Sep 5 14:23:01 CEST 2012


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.)

IMHO it's easy and straight-forward to use TApplication.QueueAsyncCall() 
for this.

-Michael.,





More information about the Lazarus mailing list