|
| int32_t | c_condition_init (c_condition_t *cond) |
| |
| int32_t | c_condition_destroy (c_condition_t *cond) |
| |
| int32_t | c_condition_lock (c_condition_t *cond) |
| |
| int32_t | c_condition_unlock (c_condition_t *cond) |
| |
| int32_t | c_condition_wait (c_condition_t *cond, int32_t ms) |
| |
| int32_t | c_condition_signal_one (c_condition_t *cond) |
| |
| int32_t | c_condition_broadcast (c_condition_t *cond) |
| |
| int32_t | c_semaphore_init (c_semaphore_t *s) |
| |
| int32_t | c_semaphore_multi_init (c_semaphore_t *s) |
| |
| int32_t | c_semaphore_destroy (c_semaphore_t *s) |
| |
| int32_t | c_semaphore_wait (c_semaphore_t *s, int32_t ms) |
| |
| int32_t | c_semaphore_post (c_semaphore_t *s) |
| |
| int32_t | c_mutex_init (c_mutex_t *m) |
| |
| int32_t | c_mutex_lock (c_mutex_t *m) |
| |
| int32_t | c_mutex_trylock (c_mutex_t *m) |
| |
| int32_t | c_mutex_unlock (c_mutex_t *m) |
| |
| int32_t | c_mutex_destroy (c_mutex_t *m) |
| |
| c_thread_t | c_thread_invalid () |
| |
| int32_t | c_thread_create (c_thread_t *thr, c_tstart_t func, void *arg) |
| |
| int32_t | c_thread_join (c_thread_t thr, int *res) |
| |
| int32_t | c_thread_timedjoin (c_thread_t thr, int *res, int32_t timeout_ms) |
| |
| int32_t | c_thread_setaffinity (c_thread_t thr, uint64_t mask) |
| |
| c_thread_t | c_thread_current (void) |
| |
| void | c_thread_yield (void) |
| |
| int32_t | c_thread_detach (c_thread_t thr) |
| |
| void | c_thread_exit (int res) |
| |
| bool | c_thread_equal (c_thread_t lhs, c_thread_t rhs) |
| |
| int32_t | c_thread_sleep (const struct timespec *duration, struct timespec *remaining) |
| |
| int32_t | c_sleep (uint32_t ms) |
| |
| int32_t | c_ticket_init (c_ticket_t *ticket) |
| |
| int32_t | c_ticket_delete (c_ticket_t *ticket) |
| |
| int32_t | c_ticket_lock (c_ticket_t *ticket) |
| |
| int32_t | c_ticket_unlock (c_ticket_t *ticket) |
| |
Functions to handle threads, inspired to C11 threads.h.
- Author
Definition in file CAENThread.h.