MCPcopy Create free account
hub / github.com/Barracuda09/SATPI / joinThread

Method joinThread

src/base/Thread.cpp:105–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103 }
104
105 void Thread::joinThread() {
106 if (_state == State::Unknown) {
107 return;
108 }
109 (void) pthread_join(_thread, nullptr);
110 }
111
112 void Thread::setAffinity(int UNUSED(cpu)) {
113// if (cpu > 0 && cpu < getNumberOfProcessorsOnline()) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected