22 #ifndef OF_HAVE_THREADS 23 # error No threads available! 26 OF_ASSUME_NONNULL_BEGIN
46 @property OF_NULLABLE_PROPERTY (readonly, nonatomic)
OFThread *thread;
51 @property (readonly, nonatomic)
int errNo;
60 + (instancetype)exceptionWithThread: (nullable
OFThread *)thread
63 + (instancetype)exception OF_UNAVAILABLE;
72 - (instancetype)initWithThread: (nullable
OFThread *)thread
73 errNo: (
int)errNo OF_DESIGNATED_INITIALIZER;
75 - (instancetype)init OF_UNAVAILABLE;
An exception indicating that joining a thread failed.
Definition: OFJoinThreadFailedException.h:36
A class which provides portable threads.
Definition: OFThread.h:65
The base class for all exceptions in ObjFW.
Definition: OFException.h:156