MCPcopy Create free account
hub / github.com/chen3feng/toft / ConditionVariable

Method ConditionVariable

system/threading/condition_variable.cpp:19–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17namespace toft {
18
19ConditionVariable::ConditionVariable(internal::MutexBase* mutex)
20{
21 TOFT_CHECK_PTHREAD_ERROR(pthread_cond_init(&m_cond, NULL));
22 m_mutex = mutex;
23}
24
25ConditionVariable::~ConditionVariable()
26{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected