22 Commits

Author SHA1 Message Date
leitner
b73a699dab reengineer alt queue handling to prevent race 2016-10-04 21:31:14 +00:00
leitner
4fa4a524d2 add io_fd_flags so the caller can tell io_fd whether the socket is blocking
(saves one fcntl syscall)
2014-10-09 09:02:28 +00:00
leitner
967e3ce019 revert edge triggering epoll; it had reliability and fairness issues and
was also not actually faster
2014-08-28 19:03:57 +00:00
leitner
5baf943f0a finish epoll move to edge triggering 2014-05-08 04:25:42 +00:00
leitner
a544abc39c switch io_fds from array to newly implemented (hopefully thread-safe) iarray
switch epoll from level triggering to edge triggering
2014-04-04 18:11:03 +00:00
leitner
e175800a8c add io_fd_canwrite (like io_fd but assume the fd is writable)
save a few syscalls here and there
2012-04-10 21:15:51 +00:00
leitner
51202765fe the #define extern hack in io_fd.c also included time.h, fix that
catch case in timeout loop where we have something to report on an fd;
in that case do not report a timeout but let the other event get through
first.
2009-04-25 19:09:27 +00:00
leitner
83c1186870 fix for NetBSD 3.0 (they broke their sys/types.h)
remove support for ip6.int reverse lookup in DNS routines (the domain is
no longer delegated)
2006-06-23 03:53:16 +00:00
leitner
c16d9880dc remove printf 2005-10-12 15:21:27 +00:00
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.
2005-09-09 22:12:23 +00:00
leitner
9512cee614 add -D_REENTRANT to CFLAGS so libowfat can be used in multi-threaded
programs
2005-09-02 21:11:58 +00:00
leitner
9eb09b5bfe add iob_free and man page for iob_reset.
check in some windoze compat crap (still does not compile through for
windoze)
2005-03-08 14:56:36 +00:00
leitner
b617d63d1e update dependencies
add errmsg_info and msg
2004-12-25 16:44:07 +00:00
leitner
076a8f4628 explicitly define extern globals 2004-03-06 10:35:09 +00:00
leitner
82a4ae868d broken lose32 port using mingw (don't use!!!)
initial Solaris /dev/poll port
2003-11-06 20:47:59 +00:00
leitner
543987da58 remove superfluous #includes
make it possibly to specify that a buffer should be freed
2003-10-31 23:34:40 +00:00
leitner
eaa4dea67b correctly initialize records before reusing them in io_fd
do something about unexpected epoll events
2003-10-12 16:50:55 +00:00
leitner
29ae01d54f glibc compatibility ;) 2003-10-10 20:13:07 +00:00
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
2003-09-12 22:03:51 +00:00
leitner
d213018a01 more kqueue/epoll 2003-09-06 01:15:00 +00:00
leitner
325a6176ca write a small socket server with io_wait integration and add and debug
io framework enough to support the test program
2003-09-05 22:59:40 +00:00
leitner
49818590ee beginnings of the io library 2003-09-02 00:14:04 +00:00