mirror of
https://github.com/libevent/libevent.git
synced 2025-01-09 00:56:20 +08:00
Fix EVBASE_ACQUIRE_LOCK/EVBASE_RELEASE_LOCK for EVENT__DISABLE_THREAD_SUPPORT
This commit is contained in:
parent
c8501afc0c
commit
648af99afa
@ -316,8 +316,8 @@ EVLOCK_TRY_LOCK_(void *lock)
|
||||
|
||||
#define EVBASE_IN_THREAD(base) 1
|
||||
#define EVBASE_NEED_NOTIFY(base) 0
|
||||
#define EVBASE_ACQUIRE_LOCK(base, lock) EVUTIL_NIL_STMT_
|
||||
#define EVBASE_RELEASE_LOCK(base, lock) EVUTIL_NIL_STMT_
|
||||
#define EVBASE_ACQUIRE_LOCK(base, lock) (void)(base)
|
||||
#define EVBASE_RELEASE_LOCK(base, lock) (void)(base)
|
||||
#define EVLOCK_ASSERT_LOCKED(lock) EVUTIL_NIL_STMT_
|
||||
|
||||
#define EVLOCK_TRY_LOCK_(lock) 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user