MCPcopy Create free account
hub / github.com/SIPp/sipp / remove_from_runqueue

Method remove_from_runqueue

src/task.cpp:122–130  ·  view source on GitHub ↗

Remove this task from the run queue. */

Source from the content-addressed store, hash-verified

120
121/* Remove this task from the run queue. */
122bool task::remove_from_runqueue()
123{
124 if (!this->running) {
125 return false;
126 }
127 running_tasks.erase(this->runit);
128 this->running = false;
129 return true;
130}
131
132void task::setRunning()
133{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected