Differences From Artifact [dfd5b7db22]:
- File src/threading.h — part of check-in [4c5f686a52] at 2019-02-17 22:16:19 on branch trunk — OFWindowsRegistryKey: Add write support (user: js, size: 6094) [annotate] [blame] [check-ins using]
To Artifact [3939aad58d]:
- File
src/threading.h
— 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: 6042) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
92 93 94 95 96 97 98 | extern bool of_thread_attr_init(of_thread_attr_t *attr); extern bool of_thread_new(of_thread_t *thread, void (*function)(id), id object, const of_thread_attr_t *attr); extern void of_thread_set_name(const char *name); extern bool of_thread_join(of_thread_t thread); extern bool of_thread_detach(of_thread_t thread); | < | 92 93 94 95 96 97 98 99 100 101 102 103 104 105 | extern bool of_thread_attr_init(of_thread_attr_t *attr); extern bool of_thread_new(of_thread_t *thread, void (*function)(id), id object, const of_thread_attr_t *attr); extern void of_thread_set_name(const char *name); extern bool of_thread_join(of_thread_t thread); extern bool of_thread_detach(of_thread_t thread); extern void of_once(of_once_t *control, void (*func)(void)); extern bool of_tlskey_new(of_tlskey_t *key); extern bool of_tlskey_free(of_tlskey_t key); extern bool of_mutex_new(of_mutex_t *mutex); extern bool of_mutex_lock(of_mutex_t *mutex); extern bool of_mutex_trylock(of_mutex_t *mutex); extern bool of_mutex_unlock(of_mutex_t *mutex); |
︙ | ︙ |