| 850 | } |
| 851 | |
| 852 | void MtFrame::InsertPend(MicroThread* thread) |
| 853 | { |
| 854 | ASSERT(!thread->HasFlag(MicroThread::PEND_LIST)); |
| 855 | thread->SetFlag(MicroThread::PEND_LIST); |
| 856 | TAILQ_INSERT_TAIL(&_pend_list, thread, _entry); |
| 857 | thread->SetState(MicroThread::PENDING); |
| 858 | } |
| 859 | |
| 860 | void MtFrame::RemovePend(MicroThread* thread) |
| 861 | { |
no test coverage detected