20#import "OFException.h"
22#ifndef OF_HAVE_THREADS
23# error No threads available!
26OF_ASSUME_NONNULL_BEGIN
52@property (readonly, nonatomic)
int errNo;
61+ (instancetype)exceptionWithCondition: (
OFCondition *)condition
64+ (instancetype)exception OF_UNAVAILABLE;
73- (instancetype)initWithCondition: (
OFCondition *)condition
74 errNo: (
int)errNo OF_DESIGNATED_INITIALIZER;
76- (instancetype)init OF_UNAVAILABLE;
A class implementing a condition variable for thread synchronization.
Definition OFCondition.h:34
The base class for all exceptions in ObjFW.
Definition OFException.h:155
An exception indicating signaling a condition failed.
Definition OFSignalConditionFailedException.h:38