Internal methods for Scheduler (friend access only)
| 370 | |
| 371 | // Internal methods for Scheduler (friend access only) |
| 372 | void Handle::_set_id(int id) { if (mImpl) mImpl->set_id(id); } |
| 373 | int Handle::_id() const { return mImpl ? mImpl->id() : 0; } |
| 374 | bool Handle::_is_canceled() const { return mImpl ? mImpl->is_canceled() : true; } |
| 375 | bool Handle::_ready_to_run(fl::u32 current_time) const { return mImpl ? mImpl->ready_to_run(current_time) : false; } |