ObjFW  Diff

Differences From Artifact [53e6bbc1b9]:

To Artifact [935014e663]:


41
42
43
44
45
46
47



48
49
50
51
52
53

int
main()
{
	lock = [[OFObject alloc] init];
	MyThread *t1 = [MyThread threadWithObject: @"A"];
	MyThread *t2 = [MyThread threadWithObject: @"B"];




	[t1 join];
	[t2 join];

	return 0;
}







>
>
>






41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56

int
main()
{
	lock = [[OFObject alloc] init];
	MyThread *t1 = [MyThread threadWithObject: @"A"];
	MyThread *t2 = [MyThread threadWithObject: @"B"];

	[t1 start];
	[t2 start];

	[t1 join];
	[t2 join];

	return 0;
}