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

Method ScheduleReclaim

adapter/micro_thread/micro_thread.cpp:358–368  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

356}
357
358void ScheduleObj::ScheduleReclaim()
359{
360 MtFrame* frame = MtFrame::Instance();
361 MicroThread* thread = frame->GetActiveThread();
362 if ((!frame) || (!thread)) {
363 MTLOG_ERROR("frame and act thread null, %p, %p", frame, thread);
364 return;
365 }
366
367 frame->FreeThread(thread);
368}
369
370void ScheduleObj::ScheduleStartRun()
371{

Callers 1

RunMethod · 0.80

Calls 2

GetActiveThreadMethod · 0.80
FreeThreadMethod · 0.80

Tested by

no test coverage detected