ObjFW  Check-in [1dc2f0b15f]

Overview
Comment:The ivar "object" of OFThread should be protected.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 1dc2f0b15fa3bf56fd42f772da3e6165473c99fee3c7e9902a5675e69b865460
User & Date: js on 2012-09-11 13:41:35
Other Links: manifest | tags
Context
2012-09-11
14:20
Add missing abort to uncaught_exception_handler. check-in: e58bcdedb5 user: js tags: trunk
13:41
The ivar "object" of OFThread should be protected. check-in: 1dc2f0b15f user: js tags: trunk
12:10
Add -[OFList removeAllObjects]. check-in: 2b5d03d8ea user: js tags: trunk
Changes

Modified src/OFThread.h from [ee8e77c050] to [82f143b8db].

75
76
77
78
79
80
81
82


83
84
85
86
87
88
89
90
91
92
 * To use it, you should create a new class derived from it and reimplement
 * main.
 */
@interface OFThread: OFObject
{
#ifdef OF_THREAD_M
@public
#else


@private
#endif
	id object;
	of_thread_t thread;
	enum {
		OF_THREAD_NOT_RUNNING,
		OF_THREAD_RUNNING,
		OF_THREAD_WAITING_FOR_JOIN
	} running;
#ifdef OF_HAVE_BLOCKS







|
>
>


<







75
76
77
78
79
80
81
82
83
84
85
86

87
88
89
90
91
92
93
 * To use it, you should create a new class derived from it and reimplement
 * main.
 */
@interface OFThread: OFObject
{
#ifdef OF_THREAD_M
@public
#endif
	id object;
#ifndef OF_THREAD_M
@private
#endif

	of_thread_t thread;
	enum {
		OF_THREAD_NOT_RUNNING,
		OF_THREAD_RUNNING,
		OF_THREAD_WAITING_FOR_JOIN
	} running;
#ifdef OF_HAVE_BLOCKS