PulseEvent. Surprised anyone uses this.

This commit is contained in:
Ben Vanik
2014-01-06 23:57:12 -08:00
parent 469ea9451d
commit 9aa2f204f5
3 changed files with 57 additions and 0 deletions

View File

@@ -56,6 +56,10 @@ int32_t XEvent::Set(uint32_t priority_increment, bool wait) {
return SetEvent(handle_) ? 1 : 0;
}
int32_t XEvent::Pulse(uint32_t priority_increment, bool wait) {
return PulseEvent(handle_) ? 1 : 0;
}
int32_t XEvent::Reset() {
return ResetEvent(handle_) ? 1 : 0;
}

View File

@@ -28,6 +28,7 @@ public:
void InitializeNative(void* native_ptr, DISPATCH_HEADER& header);
int32_t Set(uint32_t priority_increment, bool wait);
int32_t Pulse(uint32_t priority_increment, bool wait);
int32_t Reset();
void Clear();