spa/support/thread.h
More...
Go to the source code of this file.
|
| SPA_API_THREAD struct spa_thread * | spa_thread_utils_create (struct spa_thread_utils *o, const struct spa_dict *props, void *(*start_routine)(void *), void *arg) |
| | create a new thread that runs start with arg
|
| SPA_API_THREAD int | spa_thread_utils_join (struct spa_thread_utils *o, struct spa_thread *thread, void **retval) |
| | stop and join a thread
|
| SPA_API_THREAD int | spa_thread_utils_get_rt_range (struct spa_thread_utils *o, const struct spa_dict *props, int *min, int *max) |
| | get realtime priority range for threads created with props
|
| SPA_API_THREAD int | spa_thread_utils_acquire_rt (struct spa_thread_utils *o, struct spa_thread *thread, int priority) |
| | acquire realtime priority, a priority of -1 refers to the priority configured in the realtime module
|
| SPA_API_THREAD int | spa_thread_utils_drop_rt (struct spa_thread_utils *o, struct spa_thread *thread) |
| | drop realtime priority
|
◆ SPA_API_THREAD
| #define SPA_API_THREAD static inline |