Differences From Artifact [0444440a9d]:
- File src/threading.h — part of check-in [c4f724070a] at 2014-07-19 16:27:02 on branch trunk — OFThread: Configurable priority and stack size (user: js, size: 6444) [annotate] [blame] [check-ins using]
To Artifact [7cf05d0077]:
- File
src/threading.h
— 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: 6448) [annotate] [blame] [check-ins using]
︙ | |||
93 94 95 96 97 98 99 | 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 | - + | # define of_thread_current GetCurrentThread #else # error of_thread_is_current not implemented! # error of_thread_current not implemented! #endif extern bool of_thread_attr_init(of_thread_attr_t *attr); |
︙ |