| 368 | } |
| 369 | |
| 370 | void 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 | |
| 383 | unsigned int ThreadPool::default_thread_num = DEFAULT_THREAD_NUM; ///< 2000 micro threads. |
no test coverage detected