ObjFW  Check-in [42dedf0153]

Overview
Comment:objc_sync was still using the old threads API. Fixed.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 42dedf015389038715b1a6b052b526c92a823734efebdca081cbc8c9d7b04982
User & Date: js on 2010-05-16 19:24:08
Other Links: manifest | tags
Context
2010-05-24
11:20
Add -lm if available. check-in: b38b8623b4 user: js tags: trunk
2010-05-16
19:24
objc_sync was still using the old threads API. Fixed. check-in: 42dedf0153 user: js tags: trunk
2010-05-13
18:27
Better handling of \n and \r in OFXMLParser. check-in: 7aa0a50f2f user: js tags: trunk
Changes

Modified tests/objc_sync/test.m from [53e6bbc1b9] to [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;
}