wut v1.8.0
Wii U Toolchain
Loading...
Searching...
No Matches
Data Structures | Macros | Typedefs | Enumerations | Functions
event.h File Reference
#include <wut.h>
#include "thread.h"
#include "threadqueue.h"
Include dependency graph for event.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  OSEvent
 

Macros

#define OS_EVENT_TAG   0x65566E54u
 

Typedefs

typedef struct OSEvent OSEvent
 
typedef enum OSEventMode OSEventMode
 

Enumerations

enum  OSEventMode {
  OS_EVENT_MODE_MANUAL = 0 ,
  OS_EVENT_MODE_AUTO = 1
}
 

Functions

void OSInitEvent (OSEvent *event, BOOL value, OSEventMode mode)
 Initialise an event object with value and mode.
 
void OSInitEventEx (OSEvent *event, BOOL value, OSEventMode mode, char *name)
 Initialise an event object with value, mode and name.
 
void OSSignalEvent (OSEvent *event)
 Signals the event.
 
void OSSignalEventAll (OSEvent *event)
 Signals all threads waiting on an event.
 
void OSWaitEvent (OSEvent *event)
 Wait until an event is signalled.
 
void OSResetEvent (OSEvent *event)
 Resets the event object.
 
BOOL OSWaitEventWithTimeout (OSEvent *event, OSTime timeout)
 Wait until an event is signalled or a timeout has occurred.