Logo Search packages:      
Sourcecode: pulseaudio version File versions  Download package

Typedefs | Functions

thread-mainloop.h File Reference

#include <pulse/mainloop-api.h>
#include <pulse/cdecl.h>
#include <pulse/version.h>
Include dependency graph for thread-mainloop.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


typedef struct pa_threaded_mainloop pa_threaded_mainloop


void pa_threaded_mainloop_accept (pa_threaded_mainloop *m)
void pa_threaded_mainloop_free (pa_threaded_mainloop *m)
pa_mainloop_apipa_threaded_mainloop_get_api (pa_threaded_mainloop *m)
int pa_threaded_mainloop_get_retval (pa_threaded_mainloop *m)
int pa_threaded_mainloop_in_thread (pa_threaded_mainloop *m)
void pa_threaded_mainloop_lock (pa_threaded_mainloop *m)
pa_threaded_mainlooppa_threaded_mainloop_new (void)
void pa_threaded_mainloop_signal (pa_threaded_mainloop *m, int wait_for_accept)
int pa_threaded_mainloop_start (pa_threaded_mainloop *m)
void pa_threaded_mainloop_stop (pa_threaded_mainloop *m)
void pa_threaded_mainloop_unlock (pa_threaded_mainloop *m)
void pa_threaded_mainloop_wait (pa_threaded_mainloop *m)

Detailed Description

A thread based event loop implementation based on pa_mainloop. The event loop is run in a helper thread in the background. A few synchronization primitives are available to access the objects attached to the event loop safely.

See also Threaded Main Loop

Definition in file thread-mainloop.h.

Generated by  Doxygen 1.6.0   Back to index