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

Function bthread_cond_destroy

src/bthread/condition_variable.cpp:55–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55int bthread_cond_destroy(bthread_cond_t* c) {
56 bthread::butex_destroy(c->seq);
57 c->seq = NULL;
58 return 0;
59}
60
61int bthread_cond_signal(bthread_cond_t* c) {
62 bthread::CondInternal* ic = reinterpret_cast<bthread::CondInternal*>(c);

Callers 3

TESTFunction · 0.85
~BthreadCondMethod · 0.85
~ConditionVariableMethod · 0.85

Calls 1

butex_destroyFunction · 0.85

Tested by 2

TESTFunction · 0.68
~BthreadCondMethod · 0.68