Differences From Artifact [0dde3aa656]:
- File
src/threading_winapi.m
— part of check-in
[44f45c2e35]
at
2017-01-09 17:36:36
on branch trunk
— Update copyright
Forgot to add 2017, even though I already did quite some changes in
2017. (user: js, size: 4218) [annotate] [blame] [check-ins using]
To Artifact [f624bdcb51]:
- File
src/threading_winapi.m
— part of check-in
[4af49a13c3]
at
2017-05-07 20:10:13
on branch trunk
— Small code style change
Casts are now written like types in variable declarations. (user: js, size: 4219) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
28 29 30 31 32 33 34 | } bool of_thread_new(of_thread_t *thread, void (*function)(id), id object, const of_thread_attr_t *attr) { *thread = CreateThread(NULL, (attr != NULL ? attr->stackSize : 0), | | | 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | } bool of_thread_new(of_thread_t *thread, void (*function)(id), id object, const of_thread_attr_t *attr) { *thread = CreateThread(NULL, (attr != NULL ? attr->stackSize : 0), (LPTHREAD_START_ROUTINE)function, (__bridge void *)object, 0, NULL); if (thread == NULL) return false; if (attr != NULL && attr->priority != 0) { DWORD priority; |
︙ | ︙ |