* Start the event-loop thread. * @param usb_context Context. */
| 66 | * @param usb_context Context. |
| 67 | */ |
| 68 | void EventLoop::start(void *usb_context) |
| 69 | { |
| 70 | if(thread_ == 0) |
| 71 | { |
| 72 | shutdown_ = false; |
| 73 | usb_context_ = usb_context; |
| 74 | thread_ = new libfreenect2::thread(&EventLoop::static_execute, this); |
| 75 | } |
| 76 | } |
| 77 | |
| 78 | /** Stop the thread. */ |
| 79 | void EventLoop::stop() |
no outgoing calls
no test coverage detected