mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-08-12 15:24:02 +02:00
Avoid races
This commit is contained in:
@@ -703,6 +703,7 @@ typedef struct __attribute__((packed)) {
|
|||||||
_forceStopPWMThread = true;
|
_forceStopPWMThread = true;
|
||||||
}
|
}
|
||||||
[_rumblePWMThreadLock unlock];
|
[_rumblePWMThreadLock unlock];
|
||||||
|
while (_rumblePWMThreadRunning);
|
||||||
}
|
}
|
||||||
|
|
||||||
+ (void)controllerAdded:(IOHIDDeviceRef) device
|
+ (void)controllerAdded:(IOHIDDeviceRef) device
|
||||||
|
Reference in New Issue
Block a user