5 #ifndef PIPEWIRE_THREAD_H 6 #define PIPEWIRE_THREAD_H 32 #ifndef PW_API_THREAD_IMPL 33 #define PW_API_THREAD_IMPL static inline 37 const struct spa_dict *props,
void *(*start_routine)(
void*),
void *arg)
void pw_thread_utils_set(struct spa_thread_utils *impl)
Definition: thread.c:173
#define PW_API_THREAD_IMPL
Definition: thread.h:38
SPA_API_THREAD int spa_thread_utils_drop_rt(struct spa_thread_utils *o, struct spa_thread *thread)
Definition: thread.h:121
PW_API_THREAD_IMPL int pw_thread_utils_acquire_rt(struct spa_thread *thread, int priority)
Definition: thread.h:54
PW_API_THREAD_IMPL struct spa_thread * pw_thread_utils_create(const struct spa_dict *props, void *(*start_routine)(void *), void *arg)
Definition: thread.h:41
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)
Definition: thread.h:81
#define SPA_DEPRECATED
Definition: defs.h:301
PW_API_THREAD_IMPL int pw_thread_utils_get_rt_range(const struct spa_dict *props, int *min, int *max)
Definition: thread.h:50
PW_API_THREAD_IMPL int pw_thread_utils_join(struct spa_thread *thread, void **retval)
Definition: thread.h:46
void * pw_thread_fill_attr(const struct spa_dict *props, void *attr)
Definition: thread.c:50
PW_API_THREAD_IMPL int pw_thread_utils_drop_rt(struct spa_thread *thread)
Definition: thread.h:58
struct spa_thread_utils * pw_thread_utils_get(void)
Definition: thread.c:179
SPA_API_THREAD int spa_thread_utils_join(struct spa_thread_utils *o, struct spa_thread *thread, void **retval)
Definition: thread.h:91
SPA_API_THREAD int spa_thread_utils_acquire_rt(struct spa_thread_utils *o, struct spa_thread *thread, int priority)
Definition: thread.h:111
SPA_API_THREAD int spa_thread_utils_get_rt_range(struct spa_thread_utils *o, const struct spa_dict *props, int *min, int *max)
Definition: thread.h:101