chiark / gitweb /
ev_reader and ev_writer now own the FDs you give them. This is
authorRichard Kettlewell <rjk@greenend.org.uk>
Sat, 10 Nov 2007 11:47:45 +0000 (11:47 +0000)
committerRichard Kettlewell <rjk@greenend.org.uk>
Sat, 10 Nov 2007 11:47:45 +0000 (11:47 +0000)
commit75d64210316e5f0e607eecf9abec4dea8151bb2c
treeac9961b105317835053562982e7178b4964ba887
parent8bb67afe38e216185a23b7cf2e7996c68b5d8e9e
ev_reader and ev_writer now own the FDs you give them.  This is
helpful because they are in a better position to know when to close
them.  They can be tied together to share one FD between the two.

It is still (currently) necessary to explicitly cancel a reader if the
corresponding writer fails.  This may be changed in the future.

Hopefuly this should make event loop bugs at least more tractable.

Currently there is still lots of logging cruft.  This should be
removed before release.
lib/event.c
lib/event.h
lib/logfd.c
server/server.c
server/trackdb.c