preliminary ev_async implementation

Marc Lehmann schmorp at
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
it seems.

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_    
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      pcg at
      -=====/_/_//_/\_,_/ /_/\_\

More information about the libev mailing list