PipeWire 1.2.5
|
thread utils More...
#include <spa/support/thread.h>
Data Fields | |
uint32_t | version |
struct spa_thread *(* | create )(void *object, const struct spa_dict *props, void *(*start)(void *), void *arg) |
create a new thread that runs start with arg | |
int(* | join )(void *object, struct spa_thread *thread, void **retval) |
stop and join a thread | |
int(* | get_rt_range )(void *object, const struct spa_dict *props, int *min, int *max) |
get realtime priority range for threads created with props | |
int(* | acquire_rt )(void *object, struct spa_thread *thread, int priority) |
acquire realtime priority, a priority of -1 refers to the priority configured in the realtime module | |
int(* | drop_rt )(void *object, struct spa_thread *thread) |
drop realtime priority | |
thread utils
uint32_t spa_thread_utils_methods::version |
struct spa_thread *(* spa_thread_utils_methods::create) (void *object, const struct spa_dict *props, void *(*start)(void *), void *arg) |
create a new thread that runs start with arg
int(* spa_thread_utils_methods::join) (void *object, struct spa_thread *thread, void **retval) |
stop and join a thread
int(* spa_thread_utils_methods::get_rt_range) (void *object, const struct spa_dict *props, int *min, int *max) |
get realtime priority range for threads created with props
int(* spa_thread_utils_methods::acquire_rt) (void *object, struct spa_thread *thread, int priority) |
acquire realtime priority, a priority of -1 refers to the priority configured in the realtime module
int(* spa_thread_utils_methods::drop_rt) (void *object, struct spa_thread *thread) |
drop realtime priority