| 343 | } |
| 344 | |
| 345 | void ScheduleObj::ScheduleUnpend(void* pthread) |
| 346 | { |
| 347 | MtFrame* frame = MtFrame::Instance(); |
| 348 | MicroThread* thread = (MicroThread*)pthread; |
| 349 | if ((!frame) || (!thread)) { |
| 350 | MTLOG_ERROR("frame and act thread null, %p, %p", frame, thread); |
| 351 | return; |
| 352 | } |
| 353 | |
| 354 | frame->RemovePend(thread); |
| 355 | frame->InsertRunable(thread); |
| 356 | } |
| 357 | |
| 358 | void ScheduleObj::ScheduleReclaim() |
| 359 | { |
no test coverage detected