mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-09 20:24:14 +00:00
[c-host] add spinlock support to events and alter dxgi to use them
This commit is contained in:
@@ -46,7 +46,7 @@ bool os_joinThread (osThreadHandle * handle, int * resultCode);
|
||||
|
||||
typedef struct osEventHandle osEventHandle;
|
||||
|
||||
osEventHandle * os_createEvent(bool autoReset);
|
||||
osEventHandle * os_createEvent(bool autoReset, unsigned int msSpinTime);
|
||||
void os_freeEvent (osEventHandle * handle);
|
||||
bool os_waitEvent (osEventHandle * handle, unsigned int timeout);
|
||||
bool os_waitEvents (osEventHandle * handles[], int count, bool waitAll, unsigned int timeout);
|
||||
|
Reference in New Issue
Block a user