preliminary ev_async implementation
schmorp at schmorp.de
Fri Feb 1 16:46:05 CET 2008
the libev cvs contains a preliminary ev_async implementation, it would be
nice if interested parties could give it a look and try.
it is documented here:
basically, it works like an inter-loop signal, that is, no queueing, no data.
we thought long about possibly implementing some lock-free
single-reader/single-writer queue, but I couldn't come up with any good
one, and providing single-reader/multiple-writers is out of the question
the manpage provides (untested :) examples on how to do queueing in
signal- and thread-contexts.
feedback (and api changes) are still posssible.
The choice of a Deliantra, the free code+content MORPG
-----==- _GNU_ http://www.deliantra.net
----==-- _ generation
---==---(_)__ __ ____ __ Marc Lehmann
--==---/ / _ \/ // /\ \/ / pcg at goof.com
More information about the libev