[Lazarus] lnet sockets, ´"eventer"
Michael Schnell
mschnell at lumino.de
Thu Oct 25 10:02:33 CEST 2012
I understand that the "eventer" (like the "epoll()" Linux API call) can
make the (main-)thread sleep (in the OS) and have it woke and without
latency branch to the appropriate handler code as soon as one of the
affiliated "events" (such as availability of incoming data from a
Socket / Pipe / Async Interface) happens.
Some questions:
- Can such an "eventer" be used in the main thread and in worker threads ?
- If used in the main thread, can the "eventer" decently coexist with
LCL based Events (such as TTimer, GIU, QueueAsyncCall, ...),
- If Yes: How ?
- If No: Is there a way to use a timer (obviously not a TTimer Object,
but some other Object that might be provided by the library) ?
- If No: Same question regarding QueueAsyncCall.
Thanks,
-Michael
More information about the Lazarus
mailing list