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

Method ConditionVariable

src/bthread/condition_variable.h:49–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47 typedef bthread_cond_t* native_handler_type;
48
49 ConditionVariable() {
50 CHECK_EQ(0, bthread_cond_init(&_cond, NULL));
51 }
52 ~ConditionVariable() {
53 CHECK_EQ(0, bthread_cond_destroy(&_cond));
54 }

Callers

nothing calls this directly

Calls 1

bthread_cond_initFunction · 0.85

Tested by

no test coverage detected