22 #ifndef OF_HAVE_THREADS 23 # error No threads available! 26 OF_ASSUME_NONNULL_BEGIN
54 + (instancetype)exceptionWithCondition: (
OFCondition *)condition;
56 + (instancetype)exception OF_UNAVAILABLE;
64 - (instancetype)initWithCondition: (
OFCondition *)condition
65 OF_DESIGNATED_INITIALIZER;
67 - (instancetype)init OF_UNAVAILABLE;
An exception indicating that a thread is still waiting for a condition.
Definition: OFConditionStillWaitingException.h:37
The base class for all exceptions in ObjFW.
Definition: OFException.h:156
A class implementing a condition variable for thread synchronization.
Definition: OFCondition.h:33