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

Function UserCodeRunner

src/brpc/details/usercode_backup_pool.cpp:94–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92}
93
94static void* UserCodeRunner(void* args) {
95 butil::PlatformThread::SetNameSimple("brpc_user_code_runner");
96 static_cast<UserCodeBackupPool*>(args)->UserCodeRunningLoop();
97 return NULL;
98}
99
100int UserCodeBackupPool::Init() {
101 // Like bthread workers, these threads never quit (to avoid potential hang

Callers

nothing calls this directly

Calls 1

UserCodeRunningLoopMethod · 0.80

Tested by

no test coverage detected