PipeWire 0.3.77
Loading...
Searching...
No Matches
work-queue.h File Reference

pipewire/work-queue.h More...

Go to the source code of this file.

Typedefs

typedef void(* pw_work_func_t) (void *obj, void *data, int res, uint32_t id)
 

Functions

struct pw_work_queuepw_work_queue_new (struct pw_loop *loop)
 Create a new Work Queue. More...
 
void pw_work_queue_destroy (struct pw_work_queue *queue)
 Destroy a work queue. More...
 
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. More...
 
int pw_work_queue_cancel (struct pw_work_queue *queue, void *obj, uint32_t id)
 Cancel a work item. More...
 
int pw_work_queue_complete (struct pw_work_queue *queue, void *obj, uint32_t seq, int res)
 Complete a work item. More...
 

Detailed Description