| 130 | OSThread* OSGetCurrentThread() { return __OSCurrentThread; } |
| 131 | |
| 132 | static void __OSSwitchThread(OSThread *nextThread) |
| 133 | { |
| 134 | OSSetCurrentThread(nextThread); |
| 135 | OSSetCurrentContext(&nextThread->context); |
| 136 | OSLoadContext(&nextThread->context); |
| 137 | } |
| 138 | |
| 139 | BOOL OSIsThreadTerminated(OSThread *thread) |
| 140 | { |
no test coverage detected