| 248 | } |
| 249 | |
| 250 | void CompatWorker::RunWork(SWThreadHandle* handle) |
| 251 | { |
| 252 | bool autorelease = !!(handle->m_params.flags & Thread_AutoRelease); |
| 253 | handle->m_state = Thread_Running; |
| 254 | handle->GetThread()->RunThread(handle); |
| 255 | handle->m_state = Thread_Done; |
| 256 | handle->GetThread()->OnTerminate(handle, false); |
| 257 | if (autorelease) |
| 258 | delete handle; |
| 259 | } |
| 260 | |
| 261 | void CompatWorker::MakeThread(IThread *pThread) |
| 262 | { |
nothing calls this directly
no test coverage detected