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

Function worker2

test/bthread_key_unittest.cpp:164–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

162}
163
164static void* worker2(void* arg) {
165 worker2_impl(*static_cast<bthread_key_t*>(arg));
166 return NULL;
167}
168
169TEST(KeyTest, use_one_key_in_different_threads) {
170 bthread_key_t k;

Callers

nothing calls this directly

Calls 1

worker2_implFunction · 0.85

Tested by

no test coverage detected