]> granicus.if.org Git - libevent/commitdiff
Remove the now-unusable EVTHREAD_LOCK/UNLOCK constants
authorNick Mathewson <nickm@torproject.org>
Thu, 13 May 2010 15:23:12 +0000 (11:23 -0400)
committerNick Mathewson <nickm@torproject.org>
Thu, 13 May 2010 19:40:43 +0000 (15:40 -0400)
include/event2/thread.h

index a861689fd10fb4023f97b42cff7f228f70bf25d5..26897eb1a4d6a520354e52a8740e2ae67d965f38 100644 (file)
@@ -59,12 +59,6 @@ extern "C" {
 
 #include <event-config.h>
 
-/** A flag passed to an obsolete locking callback to indicate that this call
- * is for acquiring a lock. */
-#define EVTHREAD_LOCK  0x01
-/** A flag passed to an obsolete locking callback to indicate that this call
- * is for releasing a lock. */
-#define EVTHREAD_UNLOCK        0x02
 /** A flag passed to a locking callback when the lock was allocated as a
  * read-write lock, and we want to acquire or release the lock for writing. */
 #define EVTHREAD_WRITE 0x04