31 Commits

Author SHA1 Message Date
Niels Provos
5f3e31596b move EV_PERSIST handling out of the event backends
svn:r555
2007-11-27 01:39:10 +00:00
Nick Mathewson
7eb250e9c5 r14939@tombo: nickm | 2007-11-25 11:59:26 -0500
New function event_set_mem_functions to replace internal calls to malloc, free, etc with a user-supplied functions.


svn:r541
2007-11-25 17:14:19 +00:00
Niels Provos
88897852fc provide event_reinit() to reinitialized an event_base after fork - necessary for epoll/kqueue
svn:r539
2007-11-25 06:57:59 +00:00
Niels Provos
bbed0954b1 revert r505; it introduced errors in epoll
svn:r508
2007-11-11 03:05:03 +00:00
Nick Mathewson
9f0f3d6da2 r16584@catbus: nickm | 2007-11-10 00:00:59 -0500
Patch from Christopher Lane: reduce branch count in epoll_dispatch.c and generally improve clarity.


svn:r505
2007-11-10 05:18:11 +00:00
Nick Mathewson
3c1bbca672 r14744@tombo: nickm | 2007-11-06 21:30:11 -0500
Fix coding error: patch from Charles Kerr.


svn:r483
2007-11-07 02:30:17 +00:00
Nick Mathewson
d257a4c0d6 r16454@catbus: nickm | 2007-11-06 09:59:45 -0500
Small code cleanups in epoll_dispatch(): remove a needless variable and some redundant conditionals.


svn:r478
2007-11-06 20:57:32 +00:00
Niels Provos
2026b21598 remove last vestiges of RBTREE
svn:r470
2007-11-03 23:53:49 +00:00
Niels Provos
3ad6b47e03 make clock_monotonic work; do not use default timeout;
from Scott Lamb, plus some fixes from me.


svn:r371
2007-07-30 22:41:00 +00:00
Niels Provos
41b7cbc381 more the signal base into the event base; this removes global state and makes signals
work better with threading; from Wouter Wijngaards
small fixes for kqueue and style by me


svn:r351
2007-03-10 06:37:53 +00:00
Niels Provos
b5d2f9a255 rolling back r339: evconfig.h does not work
svn:r341
2007-03-01 06:25:18 +00:00
Niels Provos
8d94bd03eb signal fixes from scott lamb
svn:r340
2007-02-28 04:29:18 +00:00
Niels Provos
127c260bb7 make evconfig.h available as installed header file; not
really ideal but good enough for me; from Nick Mathewson


svn:r339
2007-02-28 04:02:29 +00:00
Niels Provos
2e8051f593 introduce a way to free the base from Nick Mathewson <nickm@freehaven.net>
svn:r210
2006-03-28 04:40:54 +00:00
Niels Provos
65644dfb80 solaris kernel changes are not backwards compatible - how retarded. problem
pointed out by: Geoffrey Giesemann


svn:r185
2005-11-12 19:04:17 +00:00
Niels Provos
cdcfae7fc1 call epoll_ctl after changing our state table; in case that epoll_ctl fails
we need to make sure that the table is consistent. from William Ahern


svn:r162
2005-05-10 08:14:39 +00:00
Niels Provos
1919a4aed6 suppress valgrind warnings from knew -a- pimb.org
svn:r138
2005-03-31 19:53:06 +00:00
Niels Provos
fbdaf3ab62 debugging callbacks from Nick Mathewson <nickm@freehaven.net>
svn:r136
2005-03-29 07:03:10 +00:00
Niels Provos
3ba224dbd5 fixes for threaded operations from Andrew Danforth
svn:r129
2005-01-03 18:58:40 +00:00
Niels Provos
8773c4c96c make libevent thread-safe; first cut
svn:r122
2004-11-25 09:50:18 +00:00
Niels Provos
96a25ae6a2 when converting usec to msec round up; so that libevent does not spin until
the time conversion has caught up; from Aaron Hopkins <aaron at die.net>


svn:r121
2004-09-19 22:38:34 +00:00
Niels Provos
6df2ede5f5 close file descriptors on exec(); suggested by aaron at die.net
svn:r119
2004-08-10 18:29:37 +00:00
Niels Provos
e1cd86d73e fixes to handle error cases by Anatoly Vorobey at pobox.com
svn:r90
2003-10-25 21:58:33 +00:00
Niels Provos
c3f496c71b minor corrections; change license to 3-clause BSD license
svn:r84
2003-10-04 23:27:26 +00:00
Niels Provos
cde427c1ec found a bug where specifying both read|write for a single event let to
a crash; found by Bruno Achauer


svn:r73
2003-06-24 14:45:21 +00:00
Niels Provos
b0b72eb05e use maximum number of fds for epoll_create; from Davide Libenzi
svn:r63
2003-04-09 18:12:11 +00:00
Niels Provos
1ed00256d5 fix type
svn:r58
2003-03-10 05:13:02 +00:00
Niels Provos
eb646205bd style
svn:r54
2003-03-09 23:29:04 +00:00
Niels Provos
28d248e006 copyright
svn:r52
2003-03-08 16:50:27 +00:00
Niels Provos
cde7a3528d fix signal usage
svn:r45
2003-03-08 06:37:56 +00:00
Niels Provos
3e41f17afa support for Linux eventpoll mechanism
svn:r42
2003-03-07 23:20:36 +00:00