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

Function EndRunningUserCodeInPlace

src/brpc/details/usercode_backup_pool.h:62–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60}
61
62inline void EndRunningUserCodeInPlace() {
63 extern butil::static_atomic<int> g_usercode_inplace;
64 g_usercode_inplace.fetch_sub(1, butil::memory_order_relaxed);
65}
66
67void EndRunningUserCodeInPool(void (*fn)(void*), void* arg);
68

Callers 8

ProcessHttpRequestFunction · 0.85
ProcessSofaRequestFunction · 0.85
ProcessNsheadRequestFunction · 0.85
ProcessThriftRequestFunction · 0.85
ProcessMongoRequestFunction · 0.85
ProcessRpcRequestFunction · 0.85
ProcessHuluRequestFunction · 0.85
RunUserCodeFunction · 0.85

Calls 1

fetch_subMethod · 0.80

Tested by

no test coverage detected