Nick Mathewson
49868b618a
r15316@tombo: nickm | 2008-04-24 20:58:36 -0400
...
Rename internal memory management functions from event_malloc() etc to mm_malloc() etc.
svn:r725
2008-04-25 01:18:08 +00:00
Nick Mathewson
0ac73078ed
r15193@tombo: nickm | 2008-04-16 16:00:35 -0400
...
Split event.h into several new headers in include/event2. event.h is now just a wrapper that includes all the subheaders.
svn:r711
2008-04-16 20:01:51 +00:00
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
5e0ac7f239
check for sys/select.h
...
svn:r377
2007-07-31 00:25:22 +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
a32839c8ec
some nit-picking from poul-henning kamp
...
svn:r208
2006-03-28 04:17:51 +00:00
Niels Provos
7517ef2a81
some fixes from openbsd via brad
...
svn:r207
2006-03-28 04:16:14 +00:00
Niels Provos
7a0c530b56
performance improvements of select handler by Nick Mathewson; I added
...
better recovery when memory allocation fails; something that needs to be
done for the poll improvements, too.
svn:r166
2005-05-11 04:08:51 +00:00
Niels Provos
bc9b24876b
make it compile on solaris
...
svn:r142
2005-04-04 00:10:17 +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
a78472da72
fix a bug for persistent events when using select()
...
svn:r108
2004-07-13 07:55:01 +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
e506eaf79e
constify; some windows stuff by mike davis; fix a poll bug
...
svn:r77
2003-09-25 03:26:53 +00:00
Niels Provos
cde7a3528d
fix signal usage
...
svn:r45
2003-03-08 06:37:56 +00:00
Niels Provos
01a932fe1f
fix signal usage
...
svn:r41
2003-03-07 23:19:05 +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
Niels Provos
9d2401fffc
portability fixes from marius@umich.edu.
...
svn:r35
2002-10-07 00:47:34 +00:00
Niels Provos
e0ca1ef203
signal fixes from ericj@monkey.org via dugsong@monkey.org
...
svn:r32
2002-09-15 18:52:28 +00:00
Niels Provos
5f8658582e
sync with openbsd; API change: timeout_ is now evtimer_
...
svn:r29
2002-07-26 14:45:50 +00:00
Niels Provos
3107493c97
signal fix from dugsong@monkey.org
...
svn:r25
2002-05-20 21:51:53 +00:00
Niels Provos
59137c119f
deal correctly with deleting an event, now that we allow multiple callbacks
...
for signal delivery.
svn:r20
2002-04-10 03:15:19 +00:00
Niels Provos
d10f85dbce
signal support for kqueue; support of EV_PERSIST flag to event_set
...
svn:r18
2002-04-10 02:10:47 +00:00
Niels Provos
b855bc5500
initial support for signals (only for select now) based on code from
...
Dug Song <dugsong@monkey.org>
svn:r17
2002-04-10 00:31:31 +00:00
Niels Provos
aa6567fe64
Initial revision
...
svn:r2
2002-04-09 15:14:06 +00:00