|
static void | vlc_clock_setup_once (void) |
|
void | vlc_trace (const char *fn, const char *file, unsigned line) |
| Print a backtrace to the standard error for debugging purpose.
|
|
static void | vlc_thread_fatal (const char *action, int error, const char *function, const char *file, unsigned line) |
| Reports a fatal error from the threading layer, for debugging purposes.
|
|
int | vlc_threadvar_create (vlc_threadvar_t *key, void(*destr)(void *)) |
| Allocates a thread-specific variable.
|
|
void | vlc_threadvar_delete (vlc_threadvar_t *p_tls) |
| Deallocates a thread-specific variable.
|
|
int | vlc_threadvar_set (vlc_threadvar_t key, void *value) |
| Sets a thread-specific variable.
|
|
void * | vlc_threadvar_get (vlc_threadvar_t key) |
| Gets the value of a thread-local variable for the calling thread.
|
|
void | vlc_threads_setup (libvlc_int_t *p_libvlc) |
|
static int | vlc_clone_attr (vlc_thread_t *th, pthread_attr_t *attr, void *(*entry)(void *), void *data) |
|
int | vlc_clone (vlc_thread_t *th, void *(*entry)(void *), void *data) |
| Creates and starts a new thread.
|
|
void | vlc_join (vlc_thread_t th, void **result) |
| Waits for a thread to complete (if needed), then destroys it.
|
|
unsigned long | vlc_thread_id (void) |
| Thread identifier.
|
|
void() | vlc_thread_set_name (const char *name) |
| Set the thread name of the current thread.
|
|
void | vlc_cancel (vlc_thread_t th) |
| Marks a thread as cancelled.
|
|
int | vlc_savecancel (void) |
| Disables thread cancellation.
|
|
void | vlc_restorecancel (int state) |
| Restores the cancellation state.
|
|
void | vlc_testcancel (void) |
| Issues an explicit deferred cancellation point.
|
|
vlc_tick_t | vlc_tick_now (void) |
| Precision monotonic clock.
|
|
void | vlc_tick_wait (vlc_tick_t deadline) |
| Waits until a deadline.
|
|
void | vlc_tick_sleep (vlc_tick_t delay) |
| Waits for an interval of time.
|
|
unsigned | vlc_GetCPUCount (void) |
| Count CPUs.
|
|