MCPcopy Create free account
hub / github.com/chen3feng/toft / Cleanup

Method Cleanup

system/threading/base_thread.cpp:117–122  ·  view source on GitHub ↗

make sure execute before exit

Source from the content-addressed store, hash-verified

115
116// make sure execute before exit
117void BaseThread::Cleanup(void* param)
118{
119 BaseThread* thread = static_cast<BaseThread*>(param);
120 thread->m_is_alive = false;
121 thread->OnExit();
122}
123
124void BaseThread::OnExit()
125{

Callers

nothing calls this directly

Calls 1

OnExitMethod · 0.45

Tested by

no test coverage detected