ObjFW
Public Member Functions | Static Public Member Functions
OFCondition Class Reference

A class implementing a condition variable for thread synchronization. More...

#import <OFThread.h>

Inheritance diagram for OFCondition:
OFMutex OFObject <OFObject>

List of all members.

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.

Detailed Description

A class implementing a condition variable for thread synchronization.


Member Function Documentation

+ (id) condition

Creates a new condition.

Returns:
A new, autoreleased OFCondition
- (void) wait

Blocks the current thread until another thread calls -[signal] or.

-[broadcast].


The documentation for this class was generated from the following files:
 All Classes Functions Variables Properties