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

Method BthreadCond

test/bthread_cond_unittest.cpp:413–417  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

411class BthreadCond {
412public:
413 BthreadCond() {
414 bthread_cond_init(&_cond, NULL);
415 bthread_mutex_init(&_mutex, NULL);
416 _count = 1;
417 }
418 ~BthreadCond() {
419 bthread_mutex_destroy(&_mutex);
420 bthread_cond_destroy(&_cond);

Callers

nothing calls this directly

Calls 2

bthread_cond_initFunction · 0.85
bthread_mutex_initFunction · 0.85

Tested by

no test coverage detected