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

Method ScheduleUnpend

adapter/micro_thread/micro_thread.cpp:345–356  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

343}
344
345void ScheduleObj::ScheduleUnpend(void* pthread)
346{
347 MtFrame* frame = MtFrame::Instance();
348 MicroThread* thread = (MicroThread*)pthread;
349 if ((!frame) || (!thread)) {
350 MTLOG_ERROR("frame and act thread null, %p, %p", frame, thread);
351 return;
352 }
353
354 frame->RemovePend(thread);
355 frame->InsertRunable(thread);
356}
357
358void ScheduleObj::ScheduleReclaim()
359{

Callers 1

WakeupParentMethod · 0.80

Calls 2

RemovePendMethod · 0.80
InsertRunableMethod · 0.80

Tested by

no test coverage detected