16 #import "OFException.h"
18 #ifndef OF_HAVE_THREADS
19 # error No threads available!
22 OF_ASSUME_NONNULL_BEGIN
47 @property (readonly, nonatomic)
int errNo;
56 + (instancetype)exceptionWithCondition: (nullable
OFCondition *)condition
66 - (instancetype)initWithCondition: (nullable
OFCondition *)condition
67 errNo: (
int)errNo OF_DESIGNATED_INITIALIZER;
69 - (instancetype)init OF_UNAVAILABLE;
An exception indicating broadcasting a condition failed.
Definition: OFConditionBroadcastFailedException.h:34
OFCondition * condition
The condition which could not be broadcasted.
Definition: OFConditionBroadcastFailedException.h:42
A class implementing a condition variable for thread synchronization.
Definition: OFCondition.h:31
The base class for all exceptions in ObjFW.
Definition: OFException.h:147