| 865 | } |
| 866 | |
| 867 | void MtFrame::WaitNotify(utime64_t timeout) |
| 868 | { |
| 869 | MicroThread* thread = GetActiveThread(); |
| 870 | |
| 871 | thread->SetWakeupTime(timeout + this->GetLastClock()); |
| 872 | this->InsertIoWait(thread); |
| 873 | thread->SwitchContext(); |
| 874 | } |
| 875 | |
| 876 | void MtFrame::NotifyThread(MicroThread* thread) |
| 877 | { |
no test coverage detected