22#ifndef OF_HAVE_THREADS
23# error No threads available!
26OF_ASSUME_NONNULL_BEGIN
51@property (readonly, nonatomic)
int errNo;
60+ (instancetype)exceptionWithThread: (nullable
OFThread *)thread
72- (instancetype)initWithThread: (nullable
OFThread *)thread
73 errNo: (
int)errNo OF_DESIGNATED_INITIALIZER;
75- (instancetype)
init OF_UNAVAILABLE;
The base class for all exceptions in ObjFW.
Definition OFException.h:157
instancetype exception()
Creates a new, autoreleased exception.
Definition OFException.m:283
An exception indicating that joining a thread failed.
Definition OFJoinThreadFailedException.h:37
OFThread * thread
The thread which could not be joined.
Definition OFJoinThreadFailedException.h:46
int errNo
The errno of the error that occurred.
Definition OFJoinThreadFailedException.h:51
instancetype init()
Initializes an already allocated object.
Definition OFObject.m:696
A class which provides portable threads.
Definition OFThread.h:66