integrate local MP comm within the IPC module

This commit is contained in:
Arisotura 2023-03-11 21:16:37 +01:00
parent e65b9f4d55
commit b0f85391e6

View File

@ -98,6 +98,8 @@ const u32 kMPReplyEnd = kBufferSize;
int MPRecvTimeout;
int MPLastHostID;
int MPRecvTimeout;
int MPLastHostID;
// we need to come up with our own abstraction layer for named semaphores
// because QSystemSemaphore doesn't support waiting with a timeout
@ -546,6 +548,7 @@ void ProcessCommands()
}
Buffer->lock();
// TODO: also what if, say, we get multiple pause commands before CommandReceived() is called?
}
Buffer->unlock();