MCPcopy Create free account
hub / github.com/crossuo/crossuo / OnDestroy

Method OnDestroy

src/Wisp/WispThread.cpp:100–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98}
99
100void CThread::OnDestroy()
101{
102 RELEASE_MUTEX(m_Mutex);
103 if (m_Handle != nullptr)
104 {
105 SDL_DetachThread(m_Handle);
106 }
107 m_Handle = nullptr;
108 m_ID = 0;
109}
110
111void CThread::Run(bool cycled, int delay, bool synchronizedDelay)
112{

Callers 2

THREADCALL CThreadLoopFunction · 0.45

Calls 1

SDL_DetachThreadFunction · 0.85

Tested by

no test coverage detected