IBNOS
|
Functions | |
struct event * | eventCreate (bool wakeupAll) |
Creates a new kernel event object. More... | |
Events are kernel objects which can be used to wait for multiple objects. They are comparable with epoll on Linux. You can attach other objects like pipes, semaphores or timers and wait will return as soon as one of the objects is signalled.
struct event* eventCreate | ( | bool | wakeupAll | ) |
Creates a new kernel event object.
This function creates a new kernel event object and returns a pointer to it. Event objects can be used for multiple purposes like waiting for an event which is triggered by a different thread, or to wait on multiple objects at the same time by associating subobjects to an event.
wakeupAll | If true all waiting objects will wake up as soon as a signal occurs, otherwise only a single one |