Home
last modified time | relevance | path

Searched refs:cw (Results 1 – 1 of 1) sorted by relevance

/libevent-2.1.12/test/
H A Dregress_thread.c77 struct cond_wait *cw = arg; in wake_all_timeout() local
78 EVLOCK_LOCK(cw->lock, 0); in wake_all_timeout()
80 EVLOCK_UNLOCK(cw->lock, 0); in wake_all_timeout()
87 struct cond_wait *cw = arg; in wake_one_timeout() local
88 EVLOCK_LOCK(cw->lock, 0); in wake_one_timeout()
90 EVLOCK_UNLOCK(cw->lock, 0); in wake_one_timeout()
101 struct cond_wait cw; in basic_thread() local
108 assert(cw.lock); in basic_thread()
109 assert(cw.cond); in basic_thread()
118 EVLOCK_LOCK(cw.lock, 0); in basic_thread()
[all …]