MCPcopy Create free account
hub / github.com/OpenKinect/libfreenect2 / start

Method start

src/event_loop.cpp:68–76  ·  view source on GitHub ↗

* Start the event-loop thread. * @param usb_context Context. */

Source from the content-addressed store, hash-verified

66 * @param usb_context Context.
67 */
68void 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. */
79void EventLoop::stop()

Callers 4

sigusr1_handlerFunction · 0.45
mainFunction · 0.45
sigusr1_handlerFunction · 0.45
mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected