Remove this task from the run queue. */
| 120 | |
| 121 | /* Remove this task from the run queue. */ |
| 122 | bool 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 | |
| 132 | void task::setRunning() |
| 133 | { |
nothing calls this directly
no outgoing calls
no test coverage detected