On Sat, Aug 30, 2008 at 01:09:54PM +0200, ryan dahl <[EMAIL PROTECTED]> wrote: > Are the eio_cb callbacks made during eio_poll() or from the worker threads?
Always from eio_poll, i.e. always synchronous to whatever thread calls eio_poll. It should also be permissible to call eio_poll concurrently from multiple threads, as eio_poll properly locks the result queue for each request, although nobody has tested that so far :) (it is even permissible to recurse into eio_poll from a callback, this ahs been tested). -- The choice of a Deliantra, the free code+content MORPG -----==- _GNU_ http://www.deliantra.net ----==-- _ generation ---==---(_)__ __ ____ __ Marc Lehmann --==---/ / _ \/ // /\ \/ / [EMAIL PROTECTED] -=====/_/_//_/\_,_/ /_/\_\ _______________________________________________ libev mailing list libev@lists.schmorp.de http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev