16 #import "OFException.h" 18 #ifndef OF_HAVE_THREADS 19 # error No threads available! 22 OF_ASSUME_NONNULL_BEGIN
47 @property (readonly, nonatomic)
int errNo;
56 + (instancetype)exceptionWithThread: (nullable
OFThread *)thread
59 + (instancetype)exception OF_UNAVAILABLE;
68 - (instancetype)initWithThread: (nullable
OFThread *)thread
69 errNo: (
int)errNo OF_DESIGNATED_INITIALIZER;
71 - (instancetype)init OF_UNAVAILABLE;
An exception indicating that starting a thread failed.
Definition: OFStartThreadFailedException.h:32
A class which provides portable threads.
Definition: OFThread.h:61
The base class for all exceptions in ObjFW.
Definition: OFException.h:150
OFThread * thread
The thread which could not be started.
Definition: OFStartThreadFailedException.h:42