WIP: Migrate mx::tasking::Scheduler to Genode threads.

This commit is contained in:
Michael Müller
2022-06-30 15:30:18 +02:00
parent ee56a3101a
commit 07aeabff94

View File

@@ -46,7 +46,7 @@ void Scheduler::start_and_wait()
static_cast<std::uint16_t>(config::memory_reclamation() != config::None));
for (auto channel_id = 0U; channel_id < this->_core_set.size(); ++channel_id)
{
worker_threads[channel_id] = std::thread([this, channel_id] { this->_worker[channel_id]->execute(); });
this->_worker[channel_id]->start();
system::thread::pin(worker_threads[channel_id], this->_worker[channel_id]->core_id());
}