[c-host] add spinlock support to events and alter dxgi to use them
This commit is contained in:
1 parent
db2f5b85a9
commit
9c5f9906fa
3 files changed
+127
-35
No files matched your search
@@ -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