Lines Matching defs:thread
40 #include <pulsecore/thread.h>
41 #include <pulsecore/thread-mq.h>
91 pa_thread *thread;
275 /* send a message to the ctl thread to ask it to either terminate us, or
276 * restart us, but either way this thread will exit, so then wait for the
361 * should kill this io thread */
417 pa_log_debug("Asking ctl thread to create source.");
512 /* Called from the IO thread. */
546 /* Creates a source in the main thread.
548 * This method is called when we receive a message from the io thread that a
588 * created (even if we failed, we still notify the thread, so they can
589 * either handle or kill the thread, rather than deadlock waiting for a
696 if (!(u->thread = pa_thread_new("tunnel-source", thread_func, u))) {
697 pa_log("Failed to create thread.");
742 if (u->thread) {
744 pa_thread_free(u->thread);