mirror of
https://github.com/mmueller41/mxtasking.git
synced 2026-01-21 20:52:57 +01:00
WIP: Migrate mx::tasking::Scheduler to Genode threads.
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user