A class implementing a condition variable for thread synchronization. More...
#import <OFThread.h>
Public Member Functions | |
(void) | - wait |
(void) | - signal |
(void) | - broadcast |
Static Public Member Functions | |
(id) | + condition |
Protected Attributes | |
of_condition_t | condition |
BOOL | cond_initialized |
A class implementing a condition variable for thread synchronization.
- (void) broadcast |
Signals all threads to continue.
+ (id) condition |
- (void) signal |
Signals the next waiting thread to continue.
- (void) wait |
Blocks the current thread until another thread calls -[signal] or -[broadcast].