kc3-lang/libevent/event.c

Branch :


Log

Author Commit Date CI Message
2d8cf0b7 2011-04-21 18:16:26 Defensive programming to prevent (hopefully impossible) stack-stomping
f0ff7659 2010-08-26 15:09:58 Fix an issue with forking and signal socketpairs in select/poll backends Nicholas Marriott identifies an issue where a signal socketpair doesn't get recreated if the event backend doesn't set event_reinit.
cb1a7223 2009-01-27 16:29:48 Fix memory leak when setting up priorities; reported by Alexander Drozdov Backport from Libevent 2.0 commit 1c927b7
bd03d068 2010-01-14 18:22:00 Re-add event_siglcb; some old code _was_ still using it. :( Such code really needs to migrate to use signal events instead. This reverts commit 072ae5887e8064da500adbd2d24050bb96fbe75d.
eb1fa9f7 2009-11-15 18:59:55 When running set[ug]id, don't check the environment. Idea from OpenBSD, but made a bit more generic to handle uncivilized lands that do not define issetugid. svn:r1529
b4183c73 2009-11-09 19:55:40 Stop too many bytes for activequeues. We were saying calloc(N,N*sizeof(struct event_list*)) when we should have been saying calloc(N,sizeof(struct event_list*)). This wasted N*(N-1) words of memory, where N was the number of priorities. This wouldn't be a big deal for any sane number of priorities, but it's a bug nonetheless. svn:r1526
6ce14fd0 2009-11-03 19:15:27 Rename compat/sys/_time.h to compat/sys/_libevent_time.h On some systems (notably HPUX), there is already a /usr/include/sys/_time.h, which our sys/_time.h shadows. Found and diagnosed by Kathryn Hogg. This is a quick fix for 1.4 only; for 2.0, I want to eliminate compat/sys/_time.h entirely, and have util-internal subsume it. svn:r1493
072ae588 2009-09-23 22:19:00 Remove unused event_gotsig code from 1.4 to appease some automated code checkers svn:r1433
0ae18517 2009-07-17 19:00:22 Backport: Update event_tv when time jumps backwards, so that we only note each jump once. Not strictly needed in 1.4, but good for correctness. svn:r1354
0ede290b 2009-01-19 23:42:19 from trunk: bug fix and potentital race condition from Alexander Drozdov svn:r1026
dfa9cb5d 2008-12-13 06:12:05 from trunk: constify structs; from Andrei Nigmatulin svn:r960
1958f3a7 2008-11-27 19:59:06 from trunk: fix a typo in setting the global event base; reported by lance svn:r954
e92d88c5 2008-11-27 19:29:22 from trunk: Clear the timer cache when leaving the event loop; reported by Robin Haberkorn svn:r951
b93c182f 2008-10-30 19:40:35 from trunk: clear the timer cache on entering event loop; reported by Victor Chang svn:r945
111ddedd 2008-10-03 15:23:47 fix merge error: event_add would not return error for some backends; from Dean McNamee svn:r943
541290f6 2008-07-25 01:34:22 from trunk: make event_add not change any state if it fails; repoted by Ian Bell svn:r924
7c7ab279 2008-07-25 00:53:17 from trunk: fix a problem with epoll() and reinit; repoted by Alexander Drozdov svn:r919
0e535d2f 2008-07-11 15:59:29 from trunk: support multiple events listening on the same signal; make signals regular events that go on the same event queue svn:r902
0690f0f5 2008-06-30 01:01:28 fix warnings with USE_DEBUG svn:r891
9ce23feb 2008-05-17 02:19:21 constify struct timeval * svn:r837
38e97b14 2008-05-16 01:58:05 from trunk: Fix use of freed memory in event_reinit; pointed out by Peter Postma svn:r835
ff6cbd06 2008-05-08 14:19:34 r19654@catbus: nickm | 2008-05-08 10:12:53 -0400 Remove #include "misc.h"s. svn:r794
987597ff 2008-05-08 14:08:12 r19651@catbus: nickm | 2008-05-08 10:05:35 -0400 Replace gettimeofday() usage with a new evutil_gettimeofday(). This removes all previous need for win32-code/misc.[ch] svn:r793
fe3c4a24 2008-05-07 20:11:37 r19631@catbus: nickm | 2008-05-07 16:06:48 -0400 Backport: fix compilation on non-c99 platforms. svn:r781
d58a0a7c 2008-05-04 00:52:57 revert to maintain stability: from trunk: separate signal events from io events svn:r764
974a7543 2008-05-03 21:40:32 from trunk: separate signal events from io events svn:r761
bfdf56c2 2008-05-03 18:27:24 from trunk: cache clock_gettime/gettimeofday values in base svn:r759
e1ab038b 2008-02-25 07:35:57 from trunk: do not insert event into list when evsel->add fails svn:r661
72ae0a2e 2008-02-16 06:10:52 from trunk: event_base_get_method; from Springande Ulv svn:r636
d5aeeca0 2008-01-26 07:34:47 from trunk: remove pending timeouts on event_base_free svn:r628
108ee5f3 2007-12-19 04:52:28 from trunk: r15171@tombo: nickm | 2007-12-06 12:47:47 -0500 Use GCC attributes (where available) to verify printf type-correctness. Fix some bugs this turned up. svn:r603
b23f1dbe 2007-12-14 07:18:02 from trunk: move EV_PERSIST handling out of the event backends svn:r592
9a708389 2007-12-13 05:58:05 from trunk: remove obsolete recalc code svn:r586
eecd6932 2007-12-12 06:26:07 from trunk: Patch from Scott Lamb: Implement event_{base_}loopbreak. Includes documentation and tests. From sf.net Feature Request 1826546. svn:r584
75cc61bf 2007-11-27 06:46:44 from trunk: we need to pass the evbase to evsel->add svn:r559
7717cec7 2007-11-27 06:15:36 from trunk: provide event_reinit() to reinitialized an event_base after fork - necessary for epoll/kqueue svn:r557
a060b24c 2007-11-14 17:53:43 from trunk: provide event_base_new() without setting current_base global svn:r530
57fe6ed2 2007-11-13 03:33:07 from trunk: free minheap; from Christopher Layne svn:r526
5c796d74 2007-11-12 06:56:02 from trunk: We do not need to specially remove a timeout before calling event_del; patch from Christopher Layne. svn:r520
6b4342db 2007-11-12 02:37:25 copy trunk to 1.4 svn:r512