| 104 | extern const char* const g_server_info_prefix = "rpc_server"; |
| 105 | |
| 106 | const char* status_str(Server::Status s) { |
| 107 | switch (s) { |
| 108 | case Server::UNINITIALIZED: return "UNINITIALIZED"; |
| 109 | case Server::READY: return "READY"; |
| 110 | case Server::RUNNING: return "RUNNING"; |
| 111 | case Server::STOPPING: return "STOPPING"; |
| 112 | } |
| 113 | return "UNKNOWN_STATUS"; |
| 114 | } |
| 115 | |
| 116 | butil::static_atomic<int> g_running_server_count = BUTIL_STATIC_ATOMIC_INIT(0); |
| 117 |
no outgoing calls
no test coverage detected