[Libevent-users] [OT] craigslist: libevent programmer wanted
Marc Lehmann
libev at schmorp.de
Thu Nov 8 18:11:28 EST 2007
On Fri, Nov 09, 2007 at 12:09:10AM +0100, Hannah Schroeter <hannah at schlund.de> 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
--==---/ / _ \/ // /\ \/ / pcg at goof.com
-=====/_/_//_/\_,_/ /_/\_\
More information about the Libevent-users
mailing list