Commit 7aaf9544fc5535a6bae73303f7dac7c03d36b11f
- Diff rendering mode:
- inline
- side by side
core/subsystem.h
(1 / 1)
|   | |||
| 71 | 71 | ||
| 72 | 72 | class ThreadedSubsystem: public Subsystem, protected Thread { | |
| 73 | 73 | public: | |
| 74 | ThreadedSubsystem(DSS* _pDSS, const std::string& _name, const std::string& _threadName) : Subsystem(_pDSS, _name), Thread(_threadName.c_str()) {} | ||
| 74 | ThreadedSubsystem(DSS* _pDSS, const std::string& _name, const char* _threadName) : Subsystem(_pDSS, _name), Thread(_threadName) {} | ||
| 75 | 75 | virtual void shutdown() { Thread::terminate(); } | |
| 76 | 76 | bool isRunning() { return Thread::isRunning(); } | |
| 77 | 77 | }; |

