path: root/io
AgeCommit message (Expand)AuthorFilesLines
2019-02-21bsd fixFelix von Leitner1-2/+3
2019-02-21BSD build fix (hopefully)Felix von Leitner1-0/+2
2018-04-11add stralloc_APPENDFelix von Leitner1-3/+3
2018-03-27 add experimental iom API for multithreaded I/O multiplexing (in io.h)Felix von Leitner8-0/+320
2018-03-12use write in buffer_put for a slight perf improvementFelix von Leitner2-5/+7
2017-11-24compile if MSG_ZEROCOPY is not defined by libcFelix von Leitner1-0/+3
2017-11-15 add MSG_ZEROCOPY support (only used for buffers >8k)Felix von Leitner1-3/+32
2017-05-13#include <foo.h> -> #include <libowfat/foo.h>Felix von Leitner49-49/+49
2017-02-04some more eagain handling in tryread and trywriteFelix von Leitner2-6/+11
2016-10-15"fmt.h" instead of <fmt.h>Felix von Leitner1-0/+1
2016-10-11 remove OpenBSD #warning (obsd maintainer says no longer needed)Felix von Leitner3-15/+1
2016-10-04implement deferred closingFelix von Leitner2-1/+22
2016-10-04reengineer alt queue handling to prevent raceFelix von Leitner9-11/+86
2016-10-04attempt to work around race condition when you close an fd but there areFelix von Leitner3-2/+32
2016-10-01document race condition caused by queueing of multiple eventsFelix von Leitner2-0/+24
2016-06-23 test for pread and use it instead of lseek+read in cdb and io_mmapwritefileFelix von Leitner1-1/+10
2016-03-17include <foo> -> include "foo"Felix von Leitner2-2/+2
2015-09-06a few missing headers and minor fixesFelix von Leitner2-17/+15
2015-04-10remove dead storeFelix von Leitner1-2/+1
2014-10-19hopefully fix the infinite loop in gatlingFelix von Leitner9-5/+117
2014-10-16remove compiler warningFelix von Leitner1-0/+1
2014-10-09 add io_fd_flags so the caller can tell io_fd whether the socket is blockingFelix von Leitner1-5/+17
2014-10-07on Linux, save a few syscalls by using sendto/sendmsg with MSG_MOREFelix von Leitner1-3/+52
2014-09-09revert to level triggering for epoll (forgot io_wantread)Felix von Leitner1-10/+12
2014-08-28revert edge triggering epoll; it had reliability and fairness issues andFelix von Leitner12-53/+133
2014-06-05 introduce io_eagain_read and io_eagain_write (discontinue using io_eagain plz)Felix von Leitner3-3/+33
2014-06-05it turns out you don't need -1/EGAIN to know edge triggering told youFelix von Leitner6-15/+61
2014-05-08finish epoll move to edge triggeringFelix von Leitner7-14/+17
2014-04-04 switch io_fds from array to newly implemented (hopefully thread-safe) iarrayFelix von Leitner26-185/+130
2013-10-01hopefully this fixes the looping gatling processesFelix von Leitner1-11/+27
2012-04-10 add io_fd_canwrite (like io_fd but assume the fd is writable)Felix von Leitner10-46/+296
2012-03-19fix endless loop bug on freebsdFelix von Leitner1-1/+0
2012-02-24document the return value expected from the callback given to iob_writeFelix von Leitner5-6/+16
2012-01-20accept -3 as error return from the callback, tooFelix von Leitner1-1/+1
2012-01-13the iob calls return int, not voidFelix von Leitner4-4/+14
2010-10-06only try to receive one byte to avoid discarding dataFelix von Leitner1-3/+3
2010-01-19get rid of warningFelix von Leitner1-0/+1
2010-01-18add/fix man pagesFelix von Leitner1-0/+2
2009-05-24hupsFelix von Leitner1-1/+1
2009-04-25the #define extern hack in io_fd.c also included time.h, fix thatFelix von Leitner2-3/+7
2008-12-08remove four warningsFelix von Leitner4-0/+4
2008-02-27some valgrind de-noisingFelix von Leitner4-0/+4
2007-10-19munmap cleanup fix (Erdgeist)Felix von Leitner1-1/+1
2007-10-17use callback based infrastructure to reset iob'sFelix von Leitner9-26/+34
2007-10-17 add iob_addbuf_munmapFelix von Leitner3-3/+17
2007-01-26off-by-oneFelix von Leitner1-1/+1
2007-01-24 fix really pathological case where io_timeouted would neverFelix von Leitner1-0/+3
2007-01-10make io_timeout clearerFelix von Leitner1-0/+4
2006-12-19add iob_bytesleftFelix von Leitner2-0/+20
2006-06-23fix for NetBSD 3.0 (they broke their sys/types.h)Felix von Leitner8-11/+90