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
|