[zion] Move synchronization to the message queue

This commit is contained in:
Drew Galbraith 2023-06-21 23:57:23 -07:00
parent 9dd457391c
commit dc63084d61
6 changed files with 60 additions and 36 deletions

View file

@ -3,6 +3,5 @@
#include "scheduler/scheduler.h"
void Port::WriteKernel(uint64_t init, glcr::RefPtr<Capability> cap) {
MutexHolder h(mutex_);
message_queue_.WriteKernel(init, cap);
}