[Lazarus] lnet component

Antonio Fortuny a.fortuny at sitasoftware.lu
Wed Sep 5 15:31:35 CEST 2012



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
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>





More information about the Lazarus mailing list