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

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to