MCPcopy Create free account
hub / github.com/OpenPTrack/open_ptrack_v2 / StopInternalThread

Method StopInternalThread

rtpose_wrapper/src/caffe/internal_thread.cpp:54–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54void InternalThread::StopInternalThread() {
55 if (is_started()) {
56 thread_->interrupt();
57 try {
58 thread_->join();
59 } catch (boost::thread_interrupted&) {
60 } catch (std::exception& e) {
61 LOG(FATAL) << "Thread exception: " << e.what();
62 }
63 }
64}
65
66} // namespace caffe

Callers 5

RunMethod · 0.80
TEST_FFunction · 0.80
~DataLayerMethod · 0.80

Calls 2

joinMethod · 0.80
whatMethod · 0.80

Tested by 1

TEST_FFunction · 0.64