ObjFW  Check-in [2f6a0e5ba9]

Overview
Comment:OFThread: Fix the name accidentally being readonly
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 2f6a0e5ba9a99519a3cc78c2b1d8b068c3e0cbc5d0d734924d07435dffc2a08d
User & Date: js on 2017-10-07 11:22:12
Other Links: manifest | tags
Context
2017-10-07
14:57
OFThread: Support setting the name while running check-in: 76ee8ab481 user: js tags: trunk
11:22
OFThread: Fix the name accidentally being readonly check-in: 2f6a0e5ba9 user: js tags: trunk
10:49
OFThread: Mark the thread block nullable check-in: 3621719bc8 user: js tags: trunk
Changes

Modified src/OFThread.h from [24f32e5db8] to [f66e3d5e03].

76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
@private
	OFString *_Nullable _name;
}

/*!
 * The name for the thread to use when starting it.
 */
@property OF_NULLABLE_PROPERTY (readonly, nonatomic) OFString *name;

# ifdef OF_HAVE_BLOCKS
/*!
 * The block to execute in the thread.
 */
@property OF_NULLABLE_PROPERTY (readonly, nonatomic)
    of_thread_block_t threadBlock;







|







76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
@private
	OFString *_Nullable _name;
}

/*!
 * The name for the thread to use when starting it.
 */
@property OF_NULLABLE_PROPERTY (copy, nonatomic) OFString *name;

# ifdef OF_HAVE_BLOCKS
/*!
 * The block to execute in the thread.
 */
@property OF_NULLABLE_PROPERTY (readonly, nonatomic)
    of_thread_block_t threadBlock;