21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
#import "runtime.h"
#import "runtime-private.h"
#ifdef OF_HAVE_THREADS
# import "threading.h"
struct lock_s {
id object;
int count;
of_rmutex_t rmutex;
struct lock_s *next;
} *locks = NULL;
static of_mutex_t mutex;
|
|
|
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
#import "runtime.h"
#import "runtime-private.h"
#ifdef OF_HAVE_THREADS
# import "threading.h"
static struct lock_s {
id object;
int count;
of_rmutex_t rmutex;
struct lock_s *next;
} *locks = NULL;
static of_mutex_t mutex;
|