16 #import "OFException.h" 18 #ifndef OF_HAVE_THREADS 19 # error No threads available! 22 OF_ASSUME_NONNULL_BEGIN
51 + (instancetype)exceptionWithCondition: (
OFCondition *)condition;
53 + (instancetype)exception OF_UNAVAILABLE;
61 - (instancetype)initWithCondition: (
OFCondition *)condition
62 OF_DESIGNATED_INITIALIZER;
64 - (instancetype)init OF_UNAVAILABLE;
An exception indicating that a thread is still waiting for a condition.
Definition: OFConditionStillWaitingException.h:34
The base class for all exceptions in ObjFW.
Definition: OFException.h:150
A class implementing a condition variable for thread synchronization.
Definition: OFCondition.h:29