[Lazarus] lnet sockets

Bernd prof7bit at gmail.com
Wed Oct 24 17:43:32 CEST 2012


2012/10/24 Michael Schnell <mschnell at lumino.de>:

>> WaitForSingleObject ?
>> Is this an LCL application?
>
>
> This is Windows stuff.

I assumed he is making an LCL appplication because LCL exits for
win-CE too. Also there are platform independent locks and events in
the RTL. (RTLEventWaitFor() and friends)

It is not clear to me what exactly "the application needs to wait"
should exactly mean in this context. For example it could just as well
pop up a modal dialog (with a cancel button) and the timer event (or
the receive event, whichever comes first and both would come from the
main thread) could close it again, maybe this would be "waiting"
enough already?




More information about the Lazarus mailing list