ipc works

This commit is contained in:
user
2026-02-24 23:42:29 +01:00
parent a35cc22990
commit 6cea3c091f
2 changed files with 12 additions and 2 deletions

View File

@@ -350,9 +350,9 @@ int receive(Vault& v, void* buffer, size_t size) {
Thread* thread = v.scheduler.active();
// Warte auf Nachricht
if (thread->ipc_queue.is_empty()) {
//if (thread->ipc_queue.is_empty()) {
thread->ipc_sem.p(v);
}
//}
IpcStruct* ipc = thread->ipc_queue.first();
if (ipc == nullptr) return -1;