MCPcopy Create free account
hub / github.com/NGT-labs/NGT / Thread

Method Thread

lib/NGT/Thread.cpp:38–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36} // namespace NGT
37
38Thread::Thread() {
39 threadInfo = new ThreadInfo;
40 threadInfo->threadid = 0;
41 threadNo = -1;
42 isTerminate = false;
43}
44
45Thread::~Thread() {
46 if (threadInfo != 0) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected