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

Method Run

adapter/micro_thread/micro_thread.cpp:228–240  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

226}
227
228void MicroThread::Run()
229{
230 if (_start) {
231 _start(_args);
232 }
233
234 if (this->IsSubThread()) {
235 this->WakeupParent();
236 }
237
238 ScheduleObj::Instance()->ScheduleReclaim();
239 ScheduleObj::Instance()->ScheduleThread();
240}
241
242void MicroThread::WakeupParent()
243{

Callers 1

ScheduleStartRunMethod · 0.80

Calls 4

IsSubThreadMethod · 0.95
WakeupParentMethod · 0.95
ScheduleReclaimMethod · 0.80
ScheduleThreadMethod · 0.80

Tested by

no test coverage detected