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

Function join_self

test/bthread_unittest.cpp:249–252  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

247}
248
249void* join_self(void*) {
250 EXPECT_EQ(EINVAL, bthread_join(bthread_self(), NULL));
251 return NULL;
252}
253
254TEST_F(BthreadTest, bthread_join) {
255 // Invalid tid

Callers

nothing calls this directly

Calls 2

bthread_joinFunction · 0.85
bthread_selfFunction · 0.85

Tested by

no test coverage detected