16 Commits (2d78cb8406071172dacc5310cbe6249c8ebfd73e)

Author SHA1 Message Date
leitner b73a699dab reengineer alt queue handling to prevent race 8 years ago
leitner f9570b38a1 attempt to work around race condition when you close an fd but there are
still outstanding events queued on it.
8 years ago
leitner 967e3ce019 revert edge triggering epoll; it had reliability and fairness issues and
was also not actually faster
10 years ago
leitner 5baf943f0a finish epoll move to edge triggering 11 years ago
leitner a544abc39c switch io_fds from array to newly implemented (hopefully thread-safe) iarray
switch epoll from level triggering to edge triggering
11 years ago
leitner e175800a8c add io_fd_canwrite (like io_fd but assume the fd is writable)
save a few syscalls here and there
13 years ago
leitner c1c50c7dbd further Windoze support (test/io5.c works, gatling still doesn't)
This is just to get gatling to work, I may remove it again after
    that.
19 years ago
leitner 03461c6eb1 more defensive programming for SIGIO (*groan*) 21 years ago
leitner 543987da58 remove superfluous #includes
make it possibly to specify that a buffer should be freed
21 years ago
leitner fcd6082250 did not compile on BSD after SIGIO fix 21 years ago
leitner 209fef467e Big Duh! _SIGIO and SIGIO look too close 21 years ago
leitner ec060d6dee wrong fix 21 years ago
leitner 07a205405b Add DEBUG=1 to GNUmakefile
the epoll guard broke SIGIO
21 years ago
leitner 963fa817de guard against one descriptor being flagged twice 21 years ago
leitner 2a2e1ddc75 add sigio support
extend code to cope with edge triggered event notification
add io_eagain() so that you can notify io_wait if accept() returned EAGAIN
22 years ago
leitner eb563422c8 add io_canread and io_canwrite 22 years ago