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

Method ScheduleStartRun

adapter/micro_thread/micro_thread.cpp:370–380  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

368}
369
370void ScheduleObj::ScheduleStartRun()
371{
372 MtFrame* frame = MtFrame::Instance();
373 MicroThread* thread = frame->GetActiveThread();
374 if ((!frame) || (!thread)) {
375 MTLOG_ERROR("frame and act thread null, %p, %p", frame, thread);
376 return;
377 }
378
379 thread->Run();
380}
381
382
383unsigned int ThreadPool::default_thread_num = DEFAULT_THREAD_NUM; ///< 2000 micro threads.

Callers 1

InitContextMethod · 0.80

Calls 2

GetActiveThreadMethod · 0.80
RunMethod · 0.80

Tested by

no test coverage detected