| 330 | } |
| 331 | |
| 332 | void ScheduleObj::SchedulePend() |
| 333 | { |
| 334 | MtFrame* frame = MtFrame::Instance(); |
| 335 | MicroThread* thread = frame->GetActiveThread(); |
| 336 | if ((!frame) || (!thread)) { |
| 337 | MTLOG_ERROR("frame and act thread null, %p, %p", frame, thread); |
| 338 | return; |
| 339 | } |
| 340 | |
| 341 | frame->InsertPend(thread); |
| 342 | frame->ThreadSchdule(); |
| 343 | } |
| 344 | |
| 345 | void ScheduleObj::ScheduleUnpend(void* pthread) |
| 346 | { |
no test coverage detected