26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
static int num_threads = 1;
static void **free_queue = NULL;
static size_t free_queue_cnt = 0;
BOOL
objc_mutex_new(objc_mutex_t *mutex)
{
if (of_mutex_new(&mutex->mutex ))
return NO;
mutex->count = 0;
return YES;
}
|
|
|
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
static int num_threads = 1;
static void **free_queue = NULL;
static size_t free_queue_cnt = 0;
BOOL
objc_mutex_new(objc_mutex_t *mutex)
{
if (!of_mutex_new(&mutex->mutex ))
return NO;
mutex->count = 0;
return YES;
}
|