MCPcopy 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
629static void* yield_thread(void*) {
630 bthread_yield();
631 return NULL;
632}
633
634TEST_F(BthreadTest, yield_single_thread) {
635 bthread_t tid;

Callers

nothing calls this directly

Calls 1

bthread_yieldFunction · 0.85

Tested by

no test coverage detected