kc3-lang/libevent/include/event2/thread.h

Branch :


Log

Author Commit Date CI Message
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*.
3808168d 2010-08-10 15:02:50 Completely remove the (mostly-removed) obsolete thread functions.
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.
fdfc3fc5 2010-05-13 11:23:12 Remove the now-unusable EVTHREAD_LOCK/UNLOCK constants
17efc1cd 2010-03-04 01:25:51 Update all our copyright notices to say "2010"
b9f43b23 2010-01-11 20:47:36 Add a comment on evthread_enable_lock_debuging.
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.
1fb2e818 2009-07-17 21:47:45 Use a uniform strategy when a function is not working: do not expose it. Rather than failing at runtime, it is better to fail at compile or link time. svn:r1363
ed038295 2009-07-17 20:22:48 Define a macro to indicate that we have defined one of the optional evthread_use macros svn:r1355