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

Method stop

src/event_loop.cpp:79–89  ·  view source on GitHub ↗

Stop the thread. */

Source from the content-addressed store, hash-verified

77
78/** Stop the thread. */
79void EventLoop::stop()
80{
81 if(thread_ != 0)
82 {
83 shutdown_ = true;
84 thread_->join();
85 delete thread_;
86 thread_ = 0;
87 usb_context_ = 0;
88 }
89}
90
91/** Execute the job, until shut down. */
92void EventLoop::execute()

Callers 4

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

Calls 1

joinMethod · 0.80

Tested by

no test coverage detected