Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/brpc
/ yield_thread
Function
yield_thread
test/bthread_unittest.cpp:629–632 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
627
}
628
629
static void* yield_thread(void*) {
630
bthread_yield();
631
return NULL;
632
}
633
634
TEST_F(BthreadTest, yield_single_thread) {
635
bthread_t tid;
Callers
nothing calls this directly
Calls
1
bthread_yield
Function · 0.85
Tested by
no test coverage detected