- addRef
void addRef(EventID descriptor)
Undocumented in source. Be warned that the author may not have intended to support it.
- cancelWait
void cancelWait(EventID event, EventCallback on_event)
Undocumented in source. Be warned that the author may not have intended to support it.
- create
EventID create()
Undocumented in source. Be warned that the author may not have intended to support it.
- releaseRef
bool releaseRef(EventID descriptor)
Undocumented in source. Be warned that the author may not have intended to support it.
- trigger
void trigger(EventID event, bool notify_all)
Undocumented in source. Be warned that the author may not have intended to support it.
- trigger
void trigger(EventID event, bool notify_all)
Undocumented in source. Be warned that the author may not have intended to support it.
- wait
void wait(EventID event, EventCallback on_event)
Undocumented in source. Be warned that the author may not have intended to support it.
- create
EventID create()
Creates a new cross-thread event.
- trigger
void trigger(EventID event, bool notify_all)
Triggers an event owned by the current thread.
- trigger
void trigger(EventID event, bool notify_all)
Triggers an event possibly owned by a different thread.
- wait
void wait(EventID event, EventCallback on_event)
Waits until an event gets triggered.
- cancelWait
void cancelWait(EventID event, EventCallback on_event)
Cancels an ongoing wait operation.
- isValid
bool isValid(EventID handle)
Determines whether the given event handle is valid.
- addRef
void addRef(EventID descriptor)
Increments the reference count of the given event.
- releaseRef
bool releaseRef(EventID descriptor)
Decrements the reference count of the given event.
- userData
EventID userData [@property setter]
Retrieves a reference to a user-defined value associated with a descriptor.
- rawUserData
void* rawUserData(EventID descriptor, size_t size, DataInitializer initialize, DataInitializer destroy)
Low-level user data access. Use userData instead.