functions to manipulate threads
◆ pw_thread_utils_create
#define pw_thread_utils_create |
( |
| ... | ) |
|
Value:
struct spa_thread_utils * pw_thread_utils_get(void)
Definition thread.c:179
static 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
Definition thread.h:71
◆ pw_thread_utils_join
#define pw_thread_utils_join |
( |
| ... | ) |
|
Value:
static int spa_thread_utils_join(struct spa_thread_utils *o, struct spa_thread *thread, void **retval)
stop and join a thread
Definition thread.h:83
◆ pw_thread_utils_get_rt_range
#define pw_thread_utils_get_rt_range |
( |
| ... | ) |
|
Value:
static 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
Definition thread.h:95
◆ pw_thread_utils_acquire_rt
#define pw_thread_utils_acquire_rt |
( |
| ... | ) |
|
Value:
static 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
Definition thread.h:107
◆ pw_thread_utils_drop_rt
#define pw_thread_utils_drop_rt |
( |
| ... | ) |
|
Value:
static int spa_thread_utils_drop_rt(struct spa_thread_utils *o, struct spa_thread *thread)
drop realtime priority
Definition thread.h:119
◆ pw_thread_utils_set()
◆ pw_thread_utils_get()
◆ pw_thread_fill_attr()
void * pw_thread_fill_attr |
( |
const struct spa_dict * | props, |
|
|
void * | attr ) |