| 43 | typedef ClientMainloop::mutex_type mutex_type; |
| 44 | typedef ClientMainloop::lock_type lock_type; |
| 45 | ClientMainloopThread(osvr::clientkit::ClientContext &ctx, |
| 46 | bool startNow = false) |
| 47 | : m_run(false), m_started(false), m_mainloop(ctx) { |
| 48 | if (startNow) { |
| 49 | start(); |
| 50 | } |
| 51 | } |
| 52 | void start() { |
| 53 | if (m_run || m_started) { |
| 54 | throw std::logic_error( |
nothing calls this directly
no outgoing calls
no test coverage detected