77 Commits

Author SHA1 Message Date
Niels Provos
32acc283c8 a few more bug fixes
svn:r177
2005-08-27 06:29:52 +00:00
Niels Provos
c4e60994a2 including the tagging code that is required by event_rpcgen.py; test the
new functionality.


svn:r172
2005-08-22 01:34:34 +00:00
Niels Provos
425fc0d574 provide a function to read lines from buffers; comes in handy for many
AscII protocols.


svn:r154
2005-04-23 02:53:39 +00:00
Niels Provos
720f7fcc0d event_base_loop and some event logging fixes.
svn:r140
2005-04-02 08:43:55 +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
99442c6f00 windows fixes from Nick Mathewson <nickm@freehaven.net>
svn:r135
2005-03-29 06:54:36 +00:00
Niels Provos
c5e4eee03b event_get_version() and event_get_method() from
Nick Mathewson <nickm@freehaven.net>


svn:r133
2005-02-25 05:28:57 +00:00
Niels Provos
cacd83983f documentation on thread safe events
svn:r126
2004-12-01 20:10:16 +00:00
Niels Provos
256460459e provide more base-based functions :-)
svn:r125
2004-12-01 20:04:54 +00:00
Niels Provos
8773c4c96c make libevent thread-safe; first cut
svn:r122
2004-11-25 09:50:18 +00:00
Niels Provos
fa6c304d9e support for event priorities; active events are scheduled into priority queues;
lower priorities get always processed before higher priorities


svn:r120
2004-09-19 21:08:09 +00:00
Niels Provos
44d88ea606 change evbuffer_read so that it reads directly into the memory allocated to
the evbuffer; this avoids one unnecessary data copy.


svn:r110
2004-07-13 08:02:45 +00:00
Niels Provos
025d1bc220 fix some of the windows compile issues; make buffer.c faster; support
signals via pipes.


svn:r105
2004-05-24 00:19:52 +00:00
Niels Provos
fbf01c7f04 support for low and high watermarks
svn:r101
2004-04-04 02:20:21 +00:00
Niels Provos
246d8583c0 allow the write callback to called even if there is no buffered data
svn:r96
2004-03-23 04:05:37 +00:00
Niels Provos
5908bd7213 provided buffered events
svn:r95
2004-03-23 03:43:53 +00:00
Niels Provos
cd699abf44 support event_loopexit(); idea from marius; and fix event_once()
svn:r94
2004-03-22 21:46:45 +00:00
Niels Provos
ec2c1db47e new event_once interface; start of buffering interface for buffered events
svn:r93
2004-02-22 21:17:23 +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
f1cf632254 add timeout_ defines back for backward compatibility.
svn:r30
2002-09-06 17:13:08 +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
3821c7e201 make kqueue signal callback work with sigchld. cast and better timeout.
svn:r27
2002-06-13 01:54:07 +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