Differences From Artifact [f1eefca76d]:
- File src/threading_pthread.m — part of check-in [0509d7a844] at 2019-01-03 19:13:03 on branch trunk — Update copyright (user: js, size: 6349) [annotate] [blame] [check-ins using]
To Artifact [45235a8a16]:
- File
src/threading_pthread.m
— part of check-in
[b5430ac44f]
at
2019-07-28 12:32:21
on branch trunk
— OFThread: Don't require of_thread_exit()
Some systems do not provide the functionality. (user: js, size: 6262) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
175 176 177 178 179 180 181 | bool of_thread_detach(of_thread_t thread) { return (pthread_detach(thread) == 0); } | < < < < < < < < | 175 176 177 178 179 180 181 182 183 184 185 186 187 188 | bool of_thread_detach(of_thread_t thread) { return (pthread_detach(thread) == 0); } void of_thread_set_name(const char *name) { #if defined(OF_HAIKU) rename_thread(find_thread(NULL), name); #elif defined(HAVE_PTHREAD_SET_NAME_NP) pthread_set_name_np(pthread_self(), name); |
︙ | ︙ |