Go to the documentation of this file.
25 #ifndef PIPEWIRE_WORK_QUEUE_H
26 #define PIPEWIRE_WORK_QUEUE_H
45 struct pw_work_queue *
Definition: module-filter-chain.c:170
void pw_work_queue_destroy(struct pw_work_queue *queue)
Destroy a work queue.
Definition: work-queue.c:132
void(* pw_work_func_t)(void *obj, void *data, int res, uint32_t id)
Definition: work-queue.h:43
#define NAME
Definition: work-queue.c:35
user data to add to an object
Definition: filter.c:75
#define spa_list_for_each(pos, head, member)
Definition: list.h:111
Definition: src/pipewire/loop.h:47
#define SPA_EXPORT
Definition: defs.h:208
#define pw_log_trace(...)
Definition: src/pipewire/log.h:90
int pw_work_queue_complete(struct pw_work_queue *queue, void *obj, uint32_t seq, int res)
Complete a work item.
Definition: work-queue.c:247
Definition: build-12683127/doc/spa/support/loop.h:58
#define pw_loop_destroy_source(l,...)
Definition: src/pipewire/loop.h:80
Definition: impl-metadata.c:49
#define pw_loop_add_event(l,...)
Definition: src/pipewire/loop.h:75
void spa_list_remove(struct spa_list *elem)
Definition: list.h:69
void spa_list_init(struct spa_list *list)
Definition: list.h:44
#define spa_list_for_each_safe(pos, tmp, head, member)
Definition: list.h:129
#define SPA_RESULT_IS_ASYNC(res)
Definition: result.h:46
#define pw_loop_signal_event(l,...)
Definition: src/pipewire/loop.h:76
#define SPA_RESULT_ASYNC_SEQ(res)
Definition: result.h:48
uint32_t pw_work_queue_add(struct pw_work_queue *queue, void *obj, int res, pw_work_func_t func, void *data)
Add an item to the work queue.
Definition: work-queue.c:162
#define pw_log_debug(...)
Definition: src/pipewire/log.h:89
#define spa_list_first(head, type, member)
Definition: list.h:75
#define SPA_ID_INVALID
Definition: defs.h:182
#define spa_list_is_empty(l)
Definition: list.h:49
struct pw_work_queue * pw_work_queue_new(struct pw_loop *loop)
Create a new PipeWire Work Queue Object.
Definition: work-queue.c:98
int pw_work_queue_cancel(struct pw_work_queue *queue, void *obj, uint32_t id)
Cancel a work item.
Definition: work-queue.c:216
struct spa_loop * loop
wrapped loop
Definition: src/pipewire/loop.h:49
#define spa_list_append(list, item)
Definition: list.h:81