| 49 | } |
| 50 | |
| 51 | void CpuEngine::onThreadEnd() { |
| 52 | CpuEngine* current = loadAcquire(_current); |
| 53 | if (current != NULL) { |
| 54 | current->destroyForThread(OS::threadId()); |
| 55 | } |
| 56 | } |
| 57 | |
| 58 | bool CpuEngine::setupThreadHook() { |
| 59 | if (_pthread_entry != NULL) { |
nothing calls this directly
no test coverage detected