test/regress_thread.c


Log

Author Commit Date CI Message
Nick Mathewson 539466e5 2012-02-10T17:33:50 Merge remote-tracking branch 'origin/patches-2.0' Conflicts: Makefile.am WIN32-Code/event2/event-config.h configure.in
Nick Mathewson e49e2891 2012-02-10T17:29:53 Update copyright notices to 2012
Nick Mathewson 95e2455c 2012-01-24T16:08:00 When including an -internal.h header outside the main tree, do so early Some of our unit tests and sample code need functions and structures defined in an -internal.h header. But that can freak out OpenSolaris, where stdio.h wants to define _FILE_OFFSET_BITS unless it's already defined, and then evconfig-internal.h defines it. Regular users should never ever use our -internal.h headers, so the solution is to make sure that if we're going to use them ourselves, we do so before system headers.
Nick Mathewson b9f7e5fd 2012-01-24T15:58:11 Allow more slop in deferred_cb_skew test; freebsd needs it
Nick Mathewson 67a1763b 2012-01-24T14:33:10 Make regression tests run over 3x faster. This was mainly a matter of reducing timeouts and delays, paying special attention to every test that took longer than a second to finish. We could do better here; IMO anything over .7 sec is probably too long, but it's a big win as it is. Remember, interactive computing is a big win over batch processing: anything that makes you get up and walk away from the terminal might as well be making you carry your punch cards over to the mainframe.
Nick Mathewson 0cb70e33 2011-10-26T10:17:21 Merge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson 3c824bd3 2011-10-24T13:18:09 Update copyright dates to 2011.
Nick Mathewson 084e68f3 2010-12-01T21:53:08 New EVLOOP_NO_EXIT_ON_EMPTY option to keep looping even when no events are pending This can be useful if you want to start an event loop and then add or remove events to it from another thread.
Nick Mathewson 9f560bfa 2011-05-25T19:50:56 Use "_WIN32", not WIN32: it's standard and we don't need to fake it This patch was automatically generated with perl. Based on a patch by Peter Rosin.
Nick Mathewson 3a67d0bf 2010-11-19T17:09:30 Resolve an evport bug in the thread/forking test
Christopher Davis f8064762 2010-10-28T10:11:25 Increase the skew tolerance to 2 seconds in thread/deferred_cb_skew This is to make the test not fail on Sebastian Hahn's Win7 box.
Nick Mathewson 2756a10c 2010-09-09T13:43:31 Add a missing time.h include to test/regress_thread.c
Christopher Davis 3ec65d69 2010-09-08T19:55:13 Fix a few Windows compile warnings.
Nick Mathewson de412948 2010-09-08T14:52:24 Add a missing header for regress_thread.c
Sebastian Hahn 911e0db8 2010-09-08T20:29:39 Fix a compile warning in regress_thread.c
Nick Mathewson 3658b169 2010-09-08T14:12:12 Merge remote branch 'chrisd/iocp-fixes4' Conflicts: test/regress_thread.c
Nick Mathewson ce85280b 2010-09-08T13:29:06 Improve testing of when thread-notification occurs
Christopher Davis 17a14f1a 2010-09-01T11:04:57 Only process up to MAX_DEFERRED deferred_cbs at a time. If threads queue callbacks while event_process_deferred_callbacks is running, the loop may spin long enough to significantly skew timers. A unit test stressing this behavior is also in this commit.
Nick Mathewson 041989fb 2010-08-17T14:44:12 Rename regress_pthread.c to regress_thread.c