ObjFW  Diff

Differences From Artifact [744fa4d2f0]:

To Artifact [e0e650ae0d]:


20
21
22
23
24
25
26
27
28


29
30
31
32

33
34
35
36

37
38
39
40
41
42
43
20
21
22
23
24
25
26


27
28
29
30
31

32
33
34
35

36
37
38
39
40
41
42
43







-
-
+
+



-
+



-
+







#endif

OF_ASSUME_NONNULL_BEGIN

@class OFThread;

/**
 * @class OFThreadStartFailedException \
 *	  OFThreadStartFailedException.h ObjFW/OFThreadStartFailedException.h
 * @class OFStartThreadFailedException \
 *	  OFStartThreadFailedException.h ObjFW/OFStartThreadFailedException.h
 *
 * @brief An exception indicating that starting a thread failed.
 */
@interface OFThreadStartFailedException: OFException
@interface OFStartThreadFailedException: OFException
{
	OFThread *_Nullable _thread;
	int _errNo;
	OF_RESERVE_IVARS(OFThreadStartFailedException, 4)
	OF_RESERVE_IVARS(OFStartThreadFailedException, 4)
}

/**
 * @brief The thread which could not be started.
 */
@property OF_NULLABLE_PROPERTY (readonly, nonatomic) OFThread *thread;