| 21 | |
| 22 | |
| 23 | class KeepMasterThread { |
| 24 | public: |
| 25 | KeepMasterThread(Scheduler *const scheduler); |
| 26 | virtual ~KeepMasterThread(); |
| 27 | |
| 28 | void Run(); |
| 29 | void Stop(); |
| 30 | |
| 31 | comm::RetCode InitMasterRate(); |
| 32 | comm::RetCode AdjustMasterRate(); |
| 33 | comm::RetCode KeepMaster(); |
| 34 | |
| 35 | private: |
| 36 | void DoRun(); |
| 37 | comm::RetCode GetLockID(int &lock_id); |
| 38 | |
| 39 | class KeepMasterThreadImpl; |
| 40 | std::unique_ptr<KeepMasterThreadImpl> impl_; |
| 41 | }; |
| 42 | |
| 43 | |
| 44 | } // namespace scheduler |
nothing calls this directly
no outgoing calls
no test coverage detected