22 #ifndef OF_HAVE_THREADS 23 # error No threads available! 26 OF_ASSUME_NONNULL_BEGIN
45 @property OF_NULLABLE_PROPERTY (readonly, nonatomic)
OFThread *thread;
53 + (instancetype)exceptionWithThread: (nullable
OFThread *)thread;
61 - (instancetype)initWithThread: (nullable
OFThread *)thread
62 OF_DESIGNATED_INITIALIZER;
A class which provides portable threads.
Definition: OFThread.h:65
The base class for all exceptions in ObjFW.
Definition: OFException.h:156
An exception indicating that a thread is still running.
Definition: OFThreadStillRunningException.h:36