Logo Search packages:      
Sourcecode: pulseaudio version File versions

void pa_threaded_mainloop_accept ( pa_threaded_mainloop m  ) 

Accept a signal from the event thread issued with pa_threaded_mainloop_signal(). This call should only be used in conjunction with pa_threaded_mainloop_signal() with a non-zero wait_for_accept value.

Definition at line 207 of file thread-mainloop.c.

                                                          {
    pa_assert(m);

    /* Make sure that this function is not called from the helper thread */
    pa_assert(!m->thread || !pa_thread_is_running(m->thread) || !in_worker(m));

    pa_cond_signal(m->accept_cond, 0);
}


Generated by  Doxygen 1.6.0   Back to index