MCPcopy Create free account
hub / github.com/F-Stack/f-stack / InsertIoWait

Method InsertIoWait

adapter/micro_thread/micro_thread.cpp:815–821  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

813}
814
815inline void MtFrame::InsertIoWait(MicroThread* thread)
816{
817 ASSERT(!thread->HasFlag(MicroThread::IO_LIST));
818 thread->SetFlag(MicroThread::IO_LIST);
819 TAILQ_INSERT_TAIL(&_iolist, thread, _entry);
820 InsertSleep(thread);
821}
822
823void MtFrame::RemoveIoWait(MicroThread* thread)
824{

Callers 2

WaitNotifyMethod · 0.95
KqueueScheduleMethod · 0.95

Calls 2

HasFlagMethod · 0.80
SetFlagMethod · 0.80

Tested by

no test coverage detected