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