Differences From Artifact [73d2b0526d]:
- File src/threading_winapi.m — part of check-in [c4f724070a] at 2014-07-19 16:27:02 on branch trunk — OFThread: Configurable priority and stack size (user: js, size: 3777) [annotate] [blame] [check-ins using]
To Artifact [b5d0945c6a]:
- File
src/threading_winapi.m
— part of check-in
[52e02c06ca]
at
2014-08-01 12:27:29
on branch trunk
— Change return type for thread main
This changes the return type to void, as the return type of a thread's
main depends on the threading implementation used. For pthreads, it adds
a wrapper function which returns NULL to avoid problems with bogus
return values. For WinAPI threads, the function is just casted, as bogus
return values don't seem to matter there. (user: js, size: 3783) [annotate] [blame] [check-ins using]
︙ | |||
22 23 24 25 26 27 28 | 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 | - + - + | (THREAD_PRIORITY_HIGHEST - THREAD_PRIORITY_LOWEST); attr->stackSize = 0; return true; } bool |
︙ |