| 48 | } |
| 49 | |
| 50 | SchedulerClient::SchedulerClient() { |
| 51 | static mutex monitor_mutex; |
| 52 | if (!global_schedulerclient_monitor_.get()) { |
| 53 | monitor_mutex.lock(); |
| 54 | if (!global_schedulerclient_monitor_.get()) { |
| 55 | global_schedulerclient_monitor_ = phxrpc::MonitorFactory::GetFactory() |
| 56 | ->CreateClientMonitor(GetPackageName()); |
| 57 | } |
| 58 | global_schedulerclient_config_.SetClientMonitor(global_schedulerclient_monitor_); |
| 59 | monitor_mutex.unlock(); |
| 60 | } |
| 61 | } |
| 62 | |
| 63 | SchedulerClient::~SchedulerClient() {} |
| 64 |
nothing calls this directly
no outgoing calls
no test coverage detected