| 45 | : id_(id), callback_(callback), start_time_(0), state_(State::INITED) {} |
| 46 | |
| 47 | Item SchedulerQueue::pop_task() { |
| 48 | Item item; |
| 49 | queue_.pop(item); |
| 50 | return item; |
| 51 | } |
| 52 | |
| 53 | int SchedulerQueue::add_task(Task &task, int priority) { |
| 54 | if (state_ == State::TERMINATED) |
no test coverage detected