Finally adding thread wait so we kill the spin loop.

This commit is contained in:
Ben Vanik
2013-09-25 20:55:22 -07:00
parent d16ab71252
commit b0481472f2
9 changed files with 45 additions and 20 deletions

View File

@@ -25,7 +25,8 @@ public:
XEvent(KernelState* kernel_state);
virtual ~XEvent();
void Initialize(void* native_ptr, DISPATCH_HEADER& header);
void Initialize(bool manual_reset, bool initial_state);
void InitializeNative(void* native_ptr, DISPATCH_HEADER& header);
int32_t Set(uint32_t priority_increment, bool wait);
int32_t Reset();