Lines Matching defs:thread
60 #include <pulsecore/thread.h>
61 #include <pulsecore/thread-mq.h>
221 pa_thread *thread;
256 pa_usec_t transport_usec; /* maintained in the main thread */
257 pa_usec_t thread_transport_usec; /* maintained in the IO thread */
486 /* Called from IO thread context */
495 * other side. This is a valid thread-safe access, because the
496 * main thread is waiting for us */
515 /* Called from IO thread context */
548 /* Called from IO thread context */
561 /* Called from IO thread context */
651 /* We may use u->snapshot time because the main thread is waiting */
663 /* We may use u->snapshot time because the main thread is waiting */
667 /* We can access this freely here, since the main thread is waiting for us */
677 * IO thread context where the rest of the messages are
797 /* We may use u->snapshot time because the main thread is waiting */
805 /* We may use u->snapshot time because the main thread is waiting */
809 /* We can access this freely here, since the main thread is waiting for us */
2506 if (!(u->thread = pa_thread_new("module-tunnel", thread_func, u))) {
2507 pa_log("Failed to create thread.");
2569 if (u->thread) {
2571 pa_thread_free(u->thread);