| 89 | void Scheduler::remove_current_from_most_loaded() |
| 90 | { |
| 91 | ASSERT(Processor::get_interrupt_state() == InterruptState::Disabled); |
| 92 | |
| 93 | for (size_t i = 0; i < m_most_loaded_threads.size(); i++) |
| 94 | { |
| 95 | if (m_most_loaded_threads[i] != m_current) |
| 96 | continue; |
| 97 | m_most_loaded_threads[i] = nullptr; |
| 98 | return; |
| 99 | } |
| 100 | } |
no outgoing calls
no test coverage detected