MCPcopy Create free account
hub / github.com/apache/brpc / bthread_sem_wait

Function bthread_sem_wait

src/bthread/semaphore.cpp:157–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

155}
156
157int bthread_sem_wait(bthread_sem_t* sem) {
158 return bthread::bthread_sem_wait_impl(sem, NULL);
159}
160
161int bthread_sem_timedwait(bthread_sem_t* sem, const struct timespec* abstime) {
162 return bthread::bthread_sem_wait_impl(sem, abstime);

Callers 3

sem_waiterFunction · 0.85
TESTFunction · 0.85
wait_opFunction · 0.85

Calls 1

bthread_sem_wait_implFunction · 0.85

Tested by 3

sem_waiterFunction · 0.68
TESTFunction · 0.68
wait_opFunction · 0.68