mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2024-11-14 21:37:42 -07:00
integrate local MP comm within the IPC module
This commit is contained in:
parent
e65b9f4d55
commit
b0f85391e6
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user