42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
* they finish the job they are currently processing.
*/
@interface OFThreadPool: OFObject
{
size_t _size;
OFMutableArray *_threads;
volatile int _count;
@public
OFList *_queue;
OFCondition *_queueCondition;
volatile int _doneCount;
OFCondition *_countCondition;
}
/*!
|
>
>
|
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
* they finish the job they are currently processing.
*/
@interface OFThreadPool: OFObject
{
size_t _size;
OFMutableArray *_threads;
volatile int _count;
#ifdef OF_THREAD_POOL_M
@public
#endif
OFList *_queue;
OFCondition *_queueCondition;
volatile int _doneCount;
OFCondition *_countCondition;
}
/*!
|