16 #import "OFException.h" 18 #ifndef OF_HAVE_THREADS 19 # error No threads available! 22 OF_ASSUME_NONNULL_BEGIN
49 + (instancetype)exceptionWithThread: (nullable
OFThread *)thread;
57 - (instancetype)initWithThread: (nullable
OFThread *)thread
58 OF_DESIGNATED_INITIALIZER;
OFThread * thread
The thread which is still running.
Definition: OFThreadStillRunningException.h:41
A class which provides portable threads.
Definition: OFThread.h:61
The base class for all exceptions in ObjFW.
Definition: OFException.h:150
An exception indicating that a thread is still running.
Definition: OFThreadStillRunningException.h:32