PipeWire  0.1.4
thread-loop.h File Reference
Include dependency graph for thread-loop.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  pw_thread_loop_events
 

Macros

#define PW_VERSION_THREAD_LOOP_EVENTS   0
 

Functions

struct pw_thread_looppw_thread_loop_new (struct pw_loop *loop, const char *name)
 
void pw_thread_loop_destroy (struct pw_thread_loop *loop)
 
void pw_thread_loop_add_listener (struct pw_thread_loop *loop, struct spa_hook *listener, const struct pw_thread_loop_events *events, void *data)
 
struct pw_looppw_thread_loop_get_loop (struct pw_thread_loop *loop)
 
int pw_thread_loop_start (struct pw_thread_loop *loop)
 
void pw_thread_loop_stop (struct pw_thread_loop *loop)
 
void pw_thread_loop_lock (struct pw_thread_loop *loop)
 
void pw_thread_loop_unlock (struct pw_thread_loop *loop)
 
void pw_thread_loop_wait (struct pw_thread_loop *loop)
 
void pw_thread_loop_signal (struct pw_thread_loop *loop, bool wait_for_accept)
 
void pw_thread_loop_accept (struct pw_thread_loop *loop)
 
bool pw_thread_loop_in_thread (struct pw_thread_loop *loop)
 

Macro Definition Documentation

◆ PW_VERSION_THREAD_LOOP_EVENTS

#define PW_VERSION_THREAD_LOOP_EVENTS   0

Function Documentation

◆ pw_thread_loop_accept()

void pw_thread_loop_accept ( struct pw_thread_loop loop)

◆ pw_thread_loop_add_listener()

void pw_thread_loop_add_listener ( struct pw_thread_loop loop,
struct spa_hook *  listener,
const struct pw_thread_loop_events events,
void *  data 
)

◆ pw_thread_loop_destroy()

void pw_thread_loop_destroy ( struct pw_thread_loop loop)

◆ pw_thread_loop_get_loop()

struct pw_loop* pw_thread_loop_get_loop ( struct pw_thread_loop loop)

◆ pw_thread_loop_in_thread()

bool pw_thread_loop_in_thread ( struct pw_thread_loop loop)

◆ pw_thread_loop_lock()

void pw_thread_loop_lock ( struct pw_thread_loop loop)

◆ pw_thread_loop_new()

struct pw_thread_loop* pw_thread_loop_new ( struct pw_loop loop,
const char *  name 
)

◆ pw_thread_loop_signal()

void pw_thread_loop_signal ( struct pw_thread_loop loop,
bool  wait_for_accept 
)

◆ pw_thread_loop_start()

int pw_thread_loop_start ( struct pw_thread_loop loop)

◆ pw_thread_loop_stop()

void pw_thread_loop_stop ( struct pw_thread_loop loop)

◆ pw_thread_loop_unlock()

void pw_thread_loop_unlock ( struct pw_thread_loop loop)

◆ pw_thread_loop_wait()

void pw_thread_loop_wait ( struct pw_thread_loop loop)