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

Function bthread_sem_disable_csite

src/bthread/semaphore.cpp:143–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141}
142
143int bthread_sem_disable_csite(bthread_sem_t* sema) {
144 sema->enable_csite = false;
145 return 0;
146}
147
148int bthread_sem_destroy(bthread_sem_t* semaphore) {
149 bthread::butex_destroy(semaphore->butex);

Callers 1

bthread_rwlock_initFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected