Lines Matching defs:thread
40 #include <pulsecore/thread.h>
41 #include <pulsecore/thread-mq.h>
93 pa_thread *thread;
261 /* send a message to the ctl thread to ask it to either terminate us, or
262 * restart us, but either way this thread will exit, so then wait for the
377 * kill this io thread */
435 /* now that we're connected, ask the control thread to create a sink for
443 pa_log_debug("Asking ctl thread to create sink.");
538 /* Called from the IO thread. */
572 /* Creates a sink in the main thread.
574 * This method is called when we receive a message from the io thread that a
606 /* set thread message queue */
616 * created (even if we failed, we still notify the thread, so they can
617 * either handle or kill the thread, rather than deadlock waiting for a
727 if (!(u->thread = pa_thread_new("tunnel-sink", thread_func, u))) {
728 pa_log("Failed to create thread.");
773 if (u->thread) {
775 pa_thread_free(u->thread);