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:

http://pod.tst.eu/http://cvs.schmorp.de/libev/ev.pod#code_ev_async_code_how_to_wake_up_an

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_              http://www.deliantra.net
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      [EMAIL PROTECTED]
      -=====/_/_//_/\_,_/ /_/\_\

_______________________________________________
libev mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev

Reply via email to