Branch :
| Author | Commit | Date | CI | Message |
|---|---|---|---|---|
| fbe64f21 | 2010-12-02 10:26:12 | Use relative includes instead of system includes consistently. | ||
| acc4aca4 | 2010-08-30 11:35:06 | Fix a bug in our win32 condition implementation The do ... while loop in our wait code could spin while waiting because the event object wasn't reset until there were no longer any events waiting to be woken up. We also want to reset the event object if the count of events to wake up reaches zero. Found by Chris Davis. Fixes bug 3053358. | ||
| 4c32b9de | 2010-08-18 12:02:25 | Fix logic error in win32 TRY_LOCK that caused problems with rate-limiting | ||
| d4977b52 | 2010-08-17 13:15:34 | Add a condition variable backend, with implementations for pthreads and win32 The interface from the user's POV is similar to the locking implementation: either provide a structure full of function pointers, or just call evthread_use_*_threads() and everything will be okay. The internal interface is meant to vaguely resemble pthread_cond_*, which Windows people will better recognize as *ConditionVariable*. | ||
| ec347b92 | 2010-07-07 16:45:03 | Move event-config.h to include/event2 This change means that all required include files are in event2, and all files not in event2/* are optional. | ||
| 17efc1cd | 2010-03-04 01:25:51 | Update all our copyright notices to say "2010" | ||
| 32c6f1ba | 2010-02-15 19:54:15 | Construct Windows locks using InitializeCriticalSectionAndSpinCount Previously we were using InitializeCriticalSection, which creates a lock that blocks immediately on contention and waits to be rescheduled. This is inefficient; it's better to wait for a little while before telling the US to reschedule us, in case the lock becomes available again really soon (since most locks mostly do). Good pthreads implementations do this automatically. On Windows, though, we need to call this magic function, and we need to pick the spin count ourselves. | ||
| 2f33e00a | 2010-01-01 04:13:05 | Fixed a memory leak on windows threads implementation. The CRITICAL_SECTION was not being free'd in evthread_win32_lock_free(). | ||
| bd6f1bab | 2009-12-02 01:15:15 | Fix up evthread compilation on windows | ||
| 347952ff | 2009-11-27 15:20:43 | Revise the locking API: deprecate the old locking callbacks and add trylock. Previously, there was no good way to request different kinds of lock (say, read/write vs writeonly or recursive vs nonrecursive), or for a lock function to signal failure (which would be important for a trylock mode). This patch revises the lock API to be a bit more useful. The older lock calls are still supported for now. We also add a debugging mode to catch common errors in using the locking APIs. | ||
| 784b8773 | 2009-11-06 21:46:57 | We do not work any more without an event-config.h; stop pretending that it is meaningful to check for HAVE_CONFIG_H svn:r1516 | ||
| ec35eb55 | 2009-02-12 22:19:54 | Make threading functions global, like the mm_ functions. Use the libevent_pthread.la library in regress_pthread. svn:r1121 | ||
| 7dd362b1 | 2009-01-29 15:09:24 | Have util-internal.h define socklen_t if we need it, and include it appropriately. This fixes win32 compilation. svn:r1070 | ||
| b85b710c | 2009-01-27 22:34:36 | Update copyright statements to reflect the facts that: a) this is 2009 b) niels and nick have been comaintainers for a while c) saying "all rights reserved" when you then go on to explicitly disclaim some rights is sheer cargo-cultism. svn:r1065 | ||
| 8889a770 | 2009-01-27 22:30:46 | Replace all use of config.h with event-config.h. svn:r1064 | ||
| 309fc7c4 | 2009-01-21 07:51:25 | New functions to provide sane threading callbacks with pthreads and win32 threading implementations. svn:r1031 |