ObjFW  Diff

Differences From Artifact [c7f4f2bb50]:

To Artifact [984c51a6f0]:


33
34
35
36
37
38
39


40
41
42
43
44
45
46
47
{
	return SetEvent(condition->event);
}

bool
of_condition_broadcast(of_condition_t *condition)
{


	for (int i = 0; i < condition->count; i++)
		if (!SetEvent(condition->event))
			return false;

	return true;
}

bool







>
>
|







33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{
	return SetEvent(condition->event);
}

bool
of_condition_broadcast(of_condition_t *condition)
{
	int count = condition->count;

	for (int i = 0; i < count; i++)
		if (!SetEvent(condition->event))
			return false;

	return true;
}

bool