9 Commits

Author SHA1 Message Date
Nick Mathewson
4c36411174 Fix compilation of 1.4 branch on win32
svn:r1370
2009-07-21 18:57:38 +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
Nick Mathewson
499d0039ad Try to contain the failure when we are running without socketpair().
Some win32 systems (mostly those using Kaspersky, it would seem)
prevent us from faking socketpair().  This makes our signal
notification code just not work.  Our response since 1.4 has been to
assert.  For users who would rather work without signals than not work
at all, this has been a regression from 1.3e.

This patch makes adding signal events fail in this case; there's no
reason to kill the whole process.

svn:r1304
2009-05-22 15:09:43 +00:00
Nick Mathewson
5d639d6c20 Fix win32 compilation warnings in 1.4.
svn:r1287
2009-05-15 01:14:08 +00:00
Nick Mathewson
987597ff0f r19651@catbus: nickm | 2008-05-08 10:05:35 -0400
Replace gettimeofday() usage with a new evutil_gettimeofday().  This removes all previous need for win32-code/misc.[ch]


svn:r793
2008-05-08 14:08:12 +00:00
Nick Mathewson
6bd28951e7 r19639@catbus: nickm | 2008-05-07 17:50:48 -0400
Fix win32 vc-2005 build.


svn:r785
2008-05-07 21:51:07 +00:00
Nick Mathewson
163c37b628 r17289@catbus: nickm | 2007-12-20 17:09:04 -0500
Backport win32 changes in r574 through r576: make win32 backend n lg n instead of n^2.


svn:r606
2007-12-20 22:09:37 +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