| 182 | } |
| 183 | |
| 184 | void ServerImpl::update() { |
| 185 | boost::unique_lock<boost::mutex> lock(m_runControl); |
| 186 | if (m_everStarted) { |
| 187 | throw std::logic_error("Can't call update() if you've ever started " |
| 188 | "the server in its own thread!"); |
| 189 | } |
| 190 | m_update(); |
| 191 | } |
| 192 | void ServerImpl::m_update() { |
| 193 | osvr::common::tracing::ServerUpdate trace; |
| 194 | m_conn->process(); |