kc3-lang/libevent/include/event2/event.h

Branch :


Log

Author Commit Date CI Message
f2645f80 2014-11-19 12:18:05 Implement new/free for struct evutil_monotonic_timer and export monotonic time functions
4545fa9b 2014-02-19 06:31:27 Add option to build shared library
53d27938 2014-01-21 15:44:05 Expand EV_CLOSED documentation a bit
b1b69ac7 2014-01-17 23:20:42 Implemented EV_CLOSED event for epoll backend (EPOLLRDHUP). - Added new EV_CLOSED event - detects premature connection close by clients without the necessity of reading all the pending data. Does not depend on EV_READ and/or EV_WRITE. - Added new EV_FEATURE_EARLY_CLOSED feature for epoll. Must be supported for listening to EV_CLOSED event. - Added new regression test: test-closed.c - All regression tests passed (test/regress and test/test.sh) - strace output of test-closed using EV_CLOSED: socketpair(PF_LOCAL, SOCK_STREAM, 0, [6, 7]) = 0 sendto(6, "test string\0", 12, 0, NULL, 0) = 12 shutdown(6, SHUT_WR) = 0 epoll_ctl(3, EPOLL_CTL_ADD, 7, {EPOLLRDHUP, {u32=7, u64=7}}) = 0 epoll_wait(3, {{EPOLLRDHUP, {u32=7, u64=7}}}, 32, 3000) = 1 epoll_ctl(3, EPOLL_CTL_MOD, 7, {EPOLLRDHUP, {u32=7, u64=7}}) = 0 fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 4), ...}) mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYM... write(1, "closed_cb: detected connection close "..., 45) = 45
f9e091bf 2014-01-06 12:11:30 Merge remote-tracking branch 'asweeny86/event-count-max'
5173bef5 2013-12-30 14:06:20 Add access to max event count stats This commit provides an interface for accessing and resetting the maximum number of events in a given period. This information provides better insight into event queue pressure.
b4ef3def 2013-12-24 10:33:58 Merge remote-tracking branch 'mistotebe/bufferevent_trigger'
87fa2b00 2013-12-23 20:46:38 Unit tests for active_by_fd; unsupport active_by_fd(TIMEOUT) [It turns out that event_base_active_by_fd(TIMEOUT) didn't actually work right. Feel free to add it back in as a patch.]
48659433 2013-12-21 23:32:10 Add event_base_active_by_signal by analogy
5c9da9a8 2013-12-21 23:21:33 Sanity-check arguments to event_base_active_by_fd()