ODIN
Public Member Functions | List of all members

#include <tjthread.h>

Public Member Functions

 Event ()
 
void wait ()
 
void signal ()
 
void reset ()
 

Detailed Description

Manual-reset event to synchronize threads.

Definition at line 111 of file tjthread.h.

Constructor & Destructor Documentation

◆ Event()

Event::Event ( )

Constructs an event object.

Member Function Documentation

◆ reset()

void Event::reset ( )

Manually reset event.

◆ signal()

void Event::signal ( )

Signal event to all waiting threads.

◆ wait()

void Event::wait ( )

Waits until any other thread calls signal(). Returns immediately if this has already happended.


The documentation for this class was generated from the following file: