7 Commits

Author SHA1 Message Date
Nick Mathewson
6ce14fd01c 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
2009-11-03 19:15:27 +00:00
Nick Mathewson
b99254ac22 Activate fd events in a pseudorandom order on older backends.
New backends like poll and kqueue and so on add fds to the queue in
the order that they are triggered.  But the select backend currently
activates low-numbered fds first, whereas the poll and win32 backends
currently favor whatever fds have been on for the longest.  This is no
good for fairness.

svn:r1327
2009-06-24 22:39:03 +00:00
Niels Provos
9e92909cf0 from trunk: make event methods static so that they are not exported; from Andrei Nigmatulin
svn:r693
2008-03-29 01:47:04 +00:00
Niels Provos
3368cc7922 from trunk:
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:r601
2007-12-18 03:50:04 +00:00
Niels Provos
b23f1dbe96 from trunk: move EV_PERSIST handling out of the event backends
svn:r592
2007-12-14 07:18:02 +00:00
Niels Provos
9a70838936 from trunk: remove obsolete recalc code
svn:r586
2007-12-13 05:58:05 +00:00
Niels Provos
6b4342db67 copy trunk to 1.4
svn:r512
2007-11-12 02:37:25 +00:00