Home
last modified time | relevance | path

Searched defs:lock (Results 1 – 16 of 16) sorted by relevance

/libevent-2.1.12/
H A Devthread.c191 void *lock; member
219 struct debug_lock *lock = lock_; in debug_lock_free() local
252 struct debug_lock *lock = lock_; in debug_lock_lock() local
288 struct debug_lock *lock = lock_; in debug_lock_unlock() local
300 struct debug_lock *lock = lock_; in debug_cond_wait() local
347 struct debug_lock *lock = lock_; in evthread_is_debug_lock_held_() local
361 struct debug_lock *lock = lock_; in evthread_debug_get_real_lock_() local
380 struct debug_lock *lock; in evthread_setup_global_lock_() local
441 evthreadimpl_lock_free_(void *lock, unsigned locktype) in evthreadimpl_lock_free_()
447 evthreadimpl_lock_lock_(unsigned mode, void *lock) in evthreadimpl_lock_lock_()
[all …]
H A Devthread-internal.h129 #define EVLOCK_ASSERT_LOCKED(lock) \ argument
140 EVLOCK_TRY_LOCK_(void *lock) in EVLOCK_TRY_LOCK_()
174 #define EVTHREAD_COND_WAIT(cond, lock) \ argument
178 #define EVTHREAD_COND_WAIT_TIMED(cond, lock, tv) \ argument
252 #define EVLOCK_ASSERT_LOCKED(lock) \ argument
263 EVLOCK_TRY_LOCK_(void *lock) in EVLOCK_TRY_LOCK_()
296 #define EVTHREAD_COND_WAIT(cond, lock) \ argument
300 #define EVTHREAD_COND_WAIT_TIMED(cond, lock, tv) \ argument
321 #define EVLOCK_ASSERT_LOCKED(lock) EVUTIL_NIL_STMT_ argument
323 #define EVLOCK_TRY_LOCK_(lock) 1 argument
[all …]
H A Devthread_pthread.c48 pthread_mutex_t *lock = mm_malloc(sizeof(pthread_mutex_t)); in evthread_posix_lock_alloc() local
63 pthread_mutex_t *lock = lock_; in evthread_posix_lock_free() local
71 pthread_mutex_t *lock = lock_; in evthread_posix_lock() local
81 pthread_mutex_t *lock = lock_; in evthread_posix_unlock() local
141 pthread_mutex_t *lock = lock_; in evthread_posix_cond_wait() local
H A Devthread_win32.c53 CRITICAL_SECTION *lock = mm_malloc(sizeof(CRITICAL_SECTION)); in evthread_win32_lock_create() local
66 CRITICAL_SECTION *lock = lock_; in evthread_win32_lock_free() local
74 CRITICAL_SECTION *lock = lock_; in evthread_win32_lock() local
86 CRITICAL_SECTION *lock = lock_; in evthread_win32_unlock() local
160 CRITICAL_SECTION *lock = lock_; in evthread_win32_condvar_wait() local
183 CRITICAL_SECTION lock; member
236 CRITICAL_SECTION *lock = lock_; in evthread_win32_cond_wait() local
H A Diocp-internal.h79 CRITICAL_SECTION lock; member
H A Devbuffer-internal.h113 void *lock; member
236 void *lock; /**< lock prevent concurrent access to refcnt */ member
H A Dbufferevent-internal.h126 void *lock; member
207 void *lock; member
H A Dlistener.c78 void *lock; member
460 CRITICAL_SECTION lock; member
H A Dbufferevent.c829 bufferevent_enable_locking_(struct bufferevent *bufev, void *lock) in bufferevent_enable_locking_()
H A Devdns.c258 void *lock; member
363 void *lock; member
2092 int i, rc=1, lock=0; in server_request_free() local
H A Dbuffer.c424 evbuffer_enable_locking(struct evbuffer *buf, void *lock) in evbuffer_enable_locking()
/libevent-2.1.12/test/
H A Dregress_bufferevent.c226 void *lock; member
247 lock_wrapper *lock = &lu_base.locks[i]; in lu_find() local
256 void *lock; in trace_lock_alloc() local
266 lock_wrapper *lock = lu_find(lock_); in trace_lock_free() local
276 lock_wrapper *lock = lu_find(lock_); in trace_lock_lock() local
287 lock_wrapper *lock = lu_find(lock_); in trace_lock_unlock() local
H A Dregress_iocp.c115 void *lock; member
H A Dregress_thread.c70 void *lock; member
H A Dregress_dns.c2210 void *lock; member
/libevent-2.1.12/include/event2/
H A Dthread.h115 int (*lock)(unsigned mode, void *lock); member