eventfd lookalike in FreeBSD ?
David Chisnall
theraven at FreeBSD.org
Tue Jul 28 17:30:39 UTC 2015
On 28 Jul 2015, at 18:23, Adrian Chadd <adrian.chadd at gmail.com> wrote:
>
> (What would be nice is having kqueue know about conditionals, so we
> can sleep on a cond as well as a kqueue fd+queue, but I can't have
> everything I want..)
I recently came across a need to do something like this. Being able to add condvar / mutex pairs to a kqueue and wait on a set of condition variables, reacquiring the mutexes for any of the signalled ones, as well as waiting for kernel events would be very useful.
David
More information about the freebsd-current
mailing list