MCPcopy Create free account
hub / github.com/HelenOS/helenos / wait

Method wait

uspace/lib/cpp/src/condition_variable.cpp:53–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51 }
52
53 void condition_variable::wait(unique_lock<mutex>& lock)
54 {
55 if (lock.owns_lock())
56 aux::threading::condvar::wait(cv_, *lock.mutex()->native_handle());
57 }
58
59 condition_variable::native_handle_type condition_variable::native_handle()
60 {

Callers 5

call_dlgFunction · 0.45
vccFunction · 0.45
clangFunction · 0.45
stanseFunction · 0.45
test_future_promiseMethod · 0.45

Calls 4

waitFunction · 0.85
owns_lockMethod · 0.45
native_handleMethod · 0.45
mutexMethod · 0.45

Tested by 1

test_future_promiseMethod · 0.36