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

Function lid_dtor

test/bthread_key_unittest.cpp:572–576  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

570bthread_mutex_t mu;
571
572static void lid_dtor(void* tls) {
573 bthread_mutex_lock(&mu);
574 lid_seqs.push_back((size_t)tls);
575 bthread_mutex_unlock(&mu);
576}
577
578static void lid_worker_impl(bthread_key_t key) {
579 ASSERT_EQ(NULL, bthread_getspecific(key));

Callers

nothing calls this directly

Calls 3

bthread_mutex_lockFunction · 0.85
bthread_mutex_unlockFunction · 0.85
push_backMethod · 0.45

Tested by

no test coverage detected