26 Commits

Author SHA1 Message Date
leitner
1a53c2221a add deferral code 2016-10-04 22:46:05 +00:00
leitner
b73a699dab reengineer alt queue handling to prevent race 2016-10-04 21:31:14 +00:00
leitner
f9570b38a1 attempt to work around race condition when you close an fd but there are
still outstanding events queued on it.
2016-10-04 20:38:04 +00:00
leitner
c60c2425ce hopefully fix the infinite loop in gatling 2014-10-19 01:52:36 +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
4f1e1d300c make headers work in C++
add two more variable length integer encoding functions
2012-02-07 17:02:40 +00:00
leitner
928bfe5c09 for installed header files, add comment saying where they came from 2010-06-03 22:46:59 +00:00
leitner
84db4c0e24 windows fix 2009-06-02 15:07:05 +00:00
leitner
dfe8c9aa27 oops 2009-04-30 18:11:08 +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
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
076a8f4628 explicitly define extern globals 2004-03-06 10:35:09 +00:00
leitner
1d9075071f add some man pages 2004-02-27 17:04:02 +00:00
leitner
27e01305cd forgot one "extern" 2004-01-06 22:52:03 +00:00
leitner
a17f7c30d2 use mmap on BSD without sendfile 2003-11-15 00:11:24 +00:00
leitner
0a38894c43 *duh* one extra zero 2003-11-11 19:50:42 +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
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
ea8e1cc90b add iob_adds
add cookies to io
2003-09-10 00:28: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
ef0495b5e2 reverse return code for safemult API to conform to newer djb APIs 2003-09-05 21:25:51 +00:00
leitner
63e070c1cb add long long buffer routines
add tai64 and tai6464 typedefs
add error message buffer routines
add io timeout routines
2003-09-05 21:09:14 +00:00
leitner
49818590ee beginnings of the io library 2003-09-02 00:14:04 +00:00