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

Method notify_one

src/bthread/condition_variable.h:106–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104 }
105
106 void notify_one() {
107 bthread_cond_signal(&_cond);
108 }
109
110 void notify_all() {
111 bthread_cond_broadcast(&_cond);

Callers 5

cv_signalerFunction · 0.80
notifyMethod · 0.80
wait_threadFunction · 0.80
unlock_sharedMethod · 0.80
unlockMethod · 0.80

Calls 1

bthread_cond_signalFunction · 0.85

Tested by 3

cv_signalerFunction · 0.64
notifyMethod · 0.64
wait_threadFunction · 0.64