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

Function show_self

test/bthread_unittest.cpp:236–240  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

234}
235
236void* show_self(void*) {
237 EXPECT_NE(0ul, bthread_self());
238 LOG(INFO) << "bthread_self=" << bthread_self();
239 return NULL;
240}
241
242TEST_F(BthreadTest, bthread_self) {
243 ASSERT_EQ(0ul, bthread_self());

Callers

nothing calls this directly

Calls 1

bthread_selfFunction · 0.85

Tested by

no test coverage detected