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

Function bthread_stop_world

src/bthread/bthread.cpp:592–597  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

590}
591
592void bthread_stop_world() {
593 bthread::TaskControl* c = bthread::get_task_control();
594 if (c != NULL) {
595 c->stop_and_join();
596 }
597}
598
599int bthread_list_init(bthread_list_t* list,
600 unsigned /*size*/,

Callers

nothing calls this directly

Calls 2

get_task_controlFunction · 0.70
stop_and_joinMethod · 0.45

Tested by

no test coverage detected