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

Method RemoveRunable

adapter/micro_thread/micro_thread.cpp:842–850  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

840}
841
842inline void MtFrame::RemoveRunable(MicroThread* thread)
843{
844 ASSERT(thread->HasFlag(MicroThread::RUN_LIST));
845 ASSERT(thread == _runlist.front());
846 thread->UnsetFlag(MicroThread::RUN_LIST);
847
848 _runlist.pop();
849 _waitnum--;
850}
851
852void MtFrame::InsertPend(MicroThread* thread)
853{

Callers 1

ThreadSchduleMethod · 0.80

Calls 2

HasFlagMethod · 0.80
UnsetFlagMethod · 0.80

Tested by

no test coverage detected