On Fri, Nov 09, 2007 at 12:09:10AM +0100, Hannah Schroeter <[EMAIL PROTECTED]> wrote: > >close() can block. *boom tsst*. > > On sockets, IIRC only with non-standard settings of the SO_LINGER > option.
well, scanning a directory and writing files would also be blocking (ok, there is aio_write, but no aio_open etc.). poing being, the above cannot be done with libevent alone, making the whole assignment not very well-thought out. my initial reaction was "well, it cannot be 'blazingly fast' when it has to work like this" :) -- The choice of a Deliantra, the free code+content MORPG -----==- _GNU_ http://www.deliantra.net ----==-- _ generation ---==---(_)__ __ ____ __ Marc Lehmann --==---/ / _ \/ // /\ \/ / [EMAIL PROTECTED] -=====/_/_//_/\_,_/ /_/\_\ _______________________________________________ Libevent-users mailing list Libevent-users@monkey.org http://monkeymail.org/mailman/listinfo/libevent-users