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

Method DaemonRun

adapter/micro_thread/micro_thread.cpp:668–683  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

666}
667
668void MtFrame::DaemonRun(void* args)
669{
670 /*
671 MtFrame* mtframe = MtFrame::Instance();
672 MicroThread* daemon = mtframe->DaemonThread();
673
674 while (true) {
675 mtframe->KqueueDispatch();
676 mtframe->SetLastClock(mtframe->GetSystemMS());
677 mtframe->WakeupTimeout();
678 mtframe->CheckExpired();
679 daemon->SwitchContext();
680 }
681 */
682 ff_run(MtFrame::Loop, NULL);
683}
684
685MicroThread *MtFrame::GetRootThread()
686{

Callers

nothing calls this directly

Calls 1

ff_runFunction · 0.85

Tested by

no test coverage detected