| 800 | } |
| 801 | |
| 802 | inline void MtFrame::RemoveSleep(MicroThread* thread) |
| 803 | { |
| 804 | ASSERT(thread->HasFlag(MicroThread::SLEEP_LIST)); |
| 805 | thread->UnsetFlag(MicroThread::SLEEP_LIST); |
| 806 | |
| 807 | int rc = _sleeplist.HeapDelete(thread); |
| 808 | if (rc < 0) |
| 809 | { |
| 810 | MT_ATTR_API(320849, 1); // heap error |
| 811 | MTLOG_ERROR("remove heap failed , rc %d", rc); |
| 812 | } |
| 813 | } |
| 814 | |
| 815 | inline void MtFrame::InsertIoWait(MicroThread* thread) |
| 816 | { |
nothing calls this directly
no test coverage detected