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

Function errorWorker

src/openpose/utilities/errorAndLog.cpp:284–289  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

282 }
283
284 void errorWorker(const std::string& message, const int line, const std::string& function, const std::string& file)
285 {
286 // If we are 100% sure that we are in main thread, then normal error.
287 // Otherwise, worker error
288 errorAux((getIfInMainThreadOrEmpty() ? 0 : 1), message, line, function, file);
289 }
290
291 void errorDestructor(const std::string& message, const int line, const std::string& function, const std::string& file)
292 {

Callers

nothing calls this directly

Calls 2

errorAuxFunction · 0.85
getIfInMainThreadOrEmptyFunction · 0.85

Tested by

no test coverage detected