[fpc-pascal] using eventfd

Andreas Klausmann Andreas.Klausmann at gmx.net
Wed Oct 21 18:43:41 CEST 2015


Hi,

which unit(s) do I have to include to use eventfd() under Linux?

Is this function used internally by TEvent? Or where does TEvent end up on
Linux level to create the event handle?

 

I'm looking for a way to wait for >=2 events without polling. A thread
should yield until one of them has been set.

 

Best regards

Andreas

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20151021/68b04826/attachment.html>


More information about the fpc-pascal mailing list