| 168 | } |
| 169 | |
| 170 | s32 OSEnableScheduler() |
| 171 | { |
| 172 | BOOL enabled; |
| 173 | s32 count; |
| 174 | |
| 175 | enabled = OSDisableInterrupts(); |
| 176 | count = Reschedule--; |
| 177 | OSRestoreInterrupts(enabled); |
| 178 | return count; |
| 179 | } |
| 180 | |
| 181 | inline void SetRun(OSThread* thread) |
| 182 | { |
no test coverage detected