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

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 219 of file thread-mainloop.c.


    /* 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_assert(m->n_waiting_for_accept > 0);
    m->n_waiting_for_accept --;

    pa_cond_signal(m->accept_cond, 0);

Generated by  Doxygen 1.6.0   Back to index