ObjFW  Diff

Differences From Artifact [dcf43cf9c5]:

To Artifact [106c451b62]:


34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
} *locks = NULL;

static of_mutex_t mutex;

OF_CONSTRUCTOR()
{
	if (!of_mutex_new(&mutex))
		OBJC_ERROR("Failed to create mutex!")
}
#endif

int
objc_sync_enter(id object)
{
	if (object == nil)







|







34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
} *locks = NULL;

static of_mutex_t mutex;

OF_CONSTRUCTOR()
{
	if (!of_mutex_new(&mutex))
		OBJC_ERROR("Failed to create mutex!");
}
#endif

int
objc_sync_enter(id object)
{
	if (object == nil)