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

Function GetProgramName

src/brpc/builtin/common.cpp:344–347  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

342}
343
344const char* GetProgramName() {
345 pthread_once(&create_program_name_once, CreateProgramName);
346 return s_program_name;
347}
348
349static pthread_once_t create_program_path_once = PTHREAD_ONCE_INIT;
350static const char* s_program_path = "unknown";

Callers 1

StartDummyServerAtFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected