MCPcopy Create free account
hub / github.com/BoevaLab/FREEC / isMainThread

Method isMainThread

src/ThreadPool.h:54–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52 unsigned int getFlags() const {return flags;}
53
54 bool isMainThread() const {return pthread_self() == main_pthread;}
55
56 ThreadPool* newThreadPool(const std::string& name);
57

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected