mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-25 07:10:00 -06:00
integrate local MP comm within the IPC module
This commit is contained in:
@ -98,6 +98,8 @@ const u32 kMPReplyEnd = kBufferSize;
|
|||||||
int MPRecvTimeout;
|
int MPRecvTimeout;
|
||||||
int MPLastHostID;
|
int MPLastHostID;
|
||||||
|
|
||||||
|
int MPRecvTimeout;
|
||||||
|
int MPLastHostID;
|
||||||
|
|
||||||
// we need to come up with our own abstraction layer for named semaphores
|
// we need to come up with our own abstraction layer for named semaphores
|
||||||
// because QSystemSemaphore doesn't support waiting with a timeout
|
// because QSystemSemaphore doesn't support waiting with a timeout
|
||||||
@ -546,6 +548,7 @@ void ProcessCommands()
|
|||||||
}
|
}
|
||||||
|
|
||||||
Buffer->lock();
|
Buffer->lock();
|
||||||
|
// TODO: also what if, say, we get multiple pause commands before CommandReceived() is called?
|
||||||
}
|
}
|
||||||
|
|
||||||
Buffer->unlock();
|
Buffer->unlock();
|
||||||
|
Reference in New Issue
Block a user