MCPcopy Create free account
hub / github.com/CMU-Perceptual-Computing-Lab/openpose / ~Thread

Method ~Thread

include/openpose/thread/thread.hpp:89–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87
88 template<typename TDatums, typename TWorker>
89 Thread<TDatums, TWorker>::~Thread()
90 {
91 try
92 {
93 opLog("", Priority::Low, __LINE__, __FUNCTION__, __FILE__);
94 stopAndJoin();
95 opLog("", Priority::Low, __LINE__, __FUNCTION__, __FILE__);
96 }
97 catch (const std::exception& e)
98 {
99 errorDestructor(e.what(), __LINE__, __FUNCTION__, __FILE__);
100 }
101 }
102
103 template<typename TDatums, typename TWorker>
104 void Thread<TDatums, TWorker>::add(const std::vector<std::shared_ptr<SubThread<TDatums, TWorker>>>& subThreads)

Callers

nothing calls this directly

Calls 3

whatMethod · 0.80
opLogFunction · 0.50
errorDestructorFunction · 0.50

Tested by

no test coverage detected