mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-11 13:24:43 -04:00
Remove the now-unusable EVTHREAD_LOCK/UNLOCK constants
This commit is contained in:
parent
33bbbed9dd
commit
fdfc3fc502
@ -59,12 +59,6 @@ extern "C" {
|
|||||||
|
|
||||||
#include <event-config.h>
|
#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
|
/** 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. */
|
* read-write lock, and we want to acquire or release the lock for writing. */
|
||||||
#define EVTHREAD_WRITE 0x04
|
#define EVTHREAD_WRITE 0x04
|
||||||
|
Loading…
x
Reference in New Issue
Block a user