MCPcopy Create free account
hub / github.com/TactilityProject/Tactility / thread_free

Function thread_free

TactilityKernel/source/concurrent/thread.cpp:111–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109}
110
111void thread_free(Thread* thread) {
112 check(thread);
113 check(thread->state == THREAD_STATE_STOPPED);
114 check(thread->taskHandle == nullptr);
115 delete thread;
116}
117
118void thread_set_name(Thread* thread, const char* name) {
119 check(name != nullptr);

Callers 1

ThreadTest.cppFile · 0.85

Calls 1

checkFunction · 0.50

Tested by

no test coverage detected