| 49 | { |
| 50 | std::list<RPCCommandExecutionInfo>::iterator it; |
| 51 | explicit RPCCommandExecution(const std::string& method) |
| 52 | { |
| 53 | LOCK(g_rpc_server_info.mutex); |
| 54 | it = g_rpc_server_info.active_commands.insert(g_rpc_server_info.active_commands.end(), {method, GetTimeMicros()}); |
| 55 | } |
| 56 | ~RPCCommandExecution() |
| 57 | { |
| 58 | LOCK(g_rpc_server_info.mutex); |
nothing calls this directly
no test coverage detected