| 226 | } |
| 227 | |
| 228 | void MicroThread::Run() |
| 229 | { |
| 230 | if (_start) { |
| 231 | _start(_args); |
| 232 | } |
| 233 | |
| 234 | if (this->IsSubThread()) { |
| 235 | this->WakeupParent(); |
| 236 | } |
| 237 | |
| 238 | ScheduleObj::Instance()->ScheduleReclaim(); |
| 239 | ScheduleObj::Instance()->ScheduleThread(); |
| 240 | } |
| 241 | |
| 242 | void MicroThread::WakeupParent() |
| 243 | { |
no test coverage detected