ObjFW  Check-in [b3dd58a1ae]

Overview
Comment:Fix an evil typo.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | runtime
Files: files | file ages | folders
SHA3-256: b3dd58a1aef62d66247fd952c492695e6e9da4e478b5a23f5be9014e148bc805
User & Date: js on 2012-03-06 17:19:48
Other Links: branch diff | manifest | tags
Context
2012-03-23
10:45
Add a cast to make Clang happy. check-in: 2179411c60 user: js tags: runtime
2012-03-06
17:19
Fix an evil typo. check-in: b3dd58a1ae user: js tags: runtime
17:18
Get rid of src/runtime/asm and move the files to src/runtime. check-in: 3dbfc001c0 user: js tags: runtime
Changes

Modified src/runtime/threading.m from [0fa31c9691] to [7dca0646d4].

26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
static int num_threads = 1;
static void **free_queue = NULL;
static size_t free_queue_cnt = 0;

BOOL
objc_mutex_new(objc_mutex_t *mutex)
{
	if (of_mutex_new(&mutex->mutex ))
		return NO;

	mutex->count = 0;

	return YES;
}








|







26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
static int num_threads = 1;
static void **free_queue = NULL;
static size_t free_queue_cnt = 0;

BOOL
objc_mutex_new(objc_mutex_t *mutex)
{
	if (!of_mutex_new(&mutex->mutex ))
		return NO;

	mutex->count = 0;

	return YES;
}