|
| static void | vlc_thread_fatal_print (const char *action, int error, const char *function, const char *file, unsigned line) |
| |
| void | vlc_threads_setup (libvlc_int_t *p_libvlc) |
| |
| static void | clean_detached_thread (void *data) |
| |
| static void * | detached_thread (void *data) |
| |
| static void * | joinable_thread (void *data) |
| |
| static int | vlc_clone_attr (vlc_thread_t *th, void *(*entry)(void *), void *data, bool detach) |
| |
| int | vlc_clone (vlc_thread_t *th, void *(*entry)(void *), void *data, int priority) |
| | Creates and starts a new thread. More...
|
| |
| void | vlc_join (vlc_thread_t handle, void **result) |
| | Waits for a thread to complete (if needed), then destroys it. More...
|
| |
| int | vlc_clone_detach (vlc_thread_t *th, void *(*entry)(void *), void *data, int priority) |
| |
| int | vlc_set_priority (vlc_thread_t th, int priority) |
| |
| void | vlc_cancel (vlc_thread_t thread_id) |
| | Marks a thread as cancelled. More...
|
| |
| int | vlc_savecancel (void) |
| | Disables thread cancellation. More...
|
| |
| void | vlc_restorecancel (int state) |
| | Restores the cancellation state. More...
|
| |
| void | vlc_testcancel (void) |
| | Issues an explicit deferred cancellation point. More...
|
| |
| void | vlc_cancel_addr_set (atomic_uint *addr) |
| |
| void | vlc_cancel_addr_clear (atomic_uint *addr) |
| |
| int | vlc_threadvar_create (vlc_threadvar_t *key, void(*destr)(void *)) |
| | Allocates a thread-specific variable. More...
|
| |
| void | vlc_threadvar_delete (vlc_threadvar_t *p_tls) |
| | Deallocates a thread-specific variable. More...
|
| |
| int | vlc_threadvar_set (vlc_threadvar_t key, void *value) |
| | Sets a thread-specific variable. More...
|
| |
| void * | vlc_threadvar_get (vlc_threadvar_t key) |
| | Gets the value of a thread-local variable for the calling thread. More...
|
| |
| vlc_tick_t | vlc_tick_now (void) |
| | Precision monotonic clock. More...
|
| |
| unsigned | vlc_GetCPUCount (void) |
| | Count CPUs. More...
|
| |