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

Function run_worker_startfn

src/bthread/task_control.cpp:71–75  ·  view source on GitHub ↗

May be called in other modules to run startfn in non-worker pthreads.

Source from the content-addressed store, hash-verified

69
70// May be called in other modules to run startfn in non-worker pthreads.
71void run_worker_startfn() {
72 if (g_worker_startfn) {
73 g_worker_startfn();
74 }
75}
76
77void run_tagged_worker_startfn(bthread_tag_t tag) {
78 if (g_tagged_worker_startfn) {

Callers 3

UserCodeRunningLoopMethod · 0.85
runMethod · 0.85
worker_threadMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected