33 Commits

Author SHA1 Message Date
Niels Provos
ca42671a14 make event methods static so that they are not exported; from Andrei Nigmatulin
svn:r692
2008-03-29 01:45:45 +00:00
Niels Provos
fbe24f43ab remove obsoleted recalc code
svn:r581
2007-12-09 05:07:20 +00:00
Niels Provos
5f3e31596b move EV_PERSIST handling out of the event backends
svn:r555
2007-11-27 01:39:10 +00:00
Nick Mathewson
ce4ee418d2 r16733@catbus: nickm | 2007-11-26 14:18:25 -0500
Add an --enable-gcc-warnings option (lifted from Tor) to the configure script.  When provided, and when we are using GCC, we enable a bunch of extra GCC warnings in the compiler.  Also, make the code all build happily with these warnings.


svn:r553
2007-11-26 19:18:49 +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
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
025b009bb6 fail without leaking memory when poll set extension fails
svn:r249
2006-11-05 17:24:24 +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
7517ef2a81 some fixes from openbsd via brad
svn:r207
2006-03-28 04:16:14 +00:00
Niels Provos
1d308e8813 mostly whitespace fixes from OpenBSD via Brad
svn:r192
2005-12-17 20:25:22 +00:00
Niels Provos
9938aaf511 treate EINVAL as per fd error in kqueue; use argument for debug macros in
poll; version 1.1a; EINVAL fix from Nick Mathewson


svn:r168
2005-06-11 21:15:22 +00:00
Niels Provos
c15db0349a performance improvements by Nick Mathewson; we modify the arrays directly
in poll_add and poll_del; some minor tweaks by me.  earmark this as 1.0f


svn:r161
2005-05-10 04:40:03 +00:00
Niels Provos
dfe4e16e13 pointer arithmetic bug; from Nick Mathewson
svn:r157
2005-04-26 07:17:42 +00:00
Niels Provos
2fa38549d7 compress read and write events for the same file descriptor into on poll
descriptor; from Nick Mathewson plus bug fixes from me.


svn:r151
2005-04-23 02:40:26 +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
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
f08bf5325e fix poll hup support
svn:r82
2003-09-25 23:07:09 +00:00
Niels Provos
e506eaf79e constify; some windows stuff by mike davis; fix a poll bug
svn:r77
2003-09-25 03:26:53 +00:00
Niels Provos
6ce5b876ea clean up from NetBSD integration
svn:r72
2003-06-12 23:33:19 +00:00
Niels Provos
cde7a3528d fix signal usage
svn:r45
2003-03-08 06:37:56 +00:00
Niels Provos
e72dff13d9 replace references to __FUNCTION__ with __func__
svn:r40
2003-03-01 20:31:28 +00:00
Niels Provos
3c2916aa13 ifdef config.h
svn:r39
2003-03-01 19:48:05 +00:00
Niels Provos
b5b585c1f9 support disabling of event mechanisms via the environment; error out
if no event mechanism is available


svn:r38
2003-03-01 19:46:27 +00:00
Niels Provos
b3d1c6a854 support poll(2) and split out the signal handling
svn:r37
2003-02-28 22:38:30 +00:00