MCPcopy Create free account
hub / github.com/BabitMF/bmf / pop_task

Method pop_task

bmf/engine/c_engine/src/scheduler_queue.cpp:47–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

Calls 1

popMethod · 0.45

Tested by

no test coverage detected