From: Lennart Poettering Date: Sat, 6 May 2006 16:38:09 +0000 (+0000) Subject: allow signalling from event loop thread X-Git-Tag: 1.0_branch~3692 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3f92e3efa92d946e0410bc78d7329039b4ad6f47;p=profile%2Fivi%2Fpulseaudio.git allow signalling from event loop thread git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@828 fefdeb5f-60dc-0310-8127-8f9354f1896f --- diff --git a/src/polyp/thread-mainloop.c b/src/polyp/thread-mainloop.c index 32be494..51fafe9 100644 --- a/src/polyp/thread-mainloop.c +++ b/src/polyp/thread-mainloop.c @@ -184,9 +184,6 @@ void pa_threaded_mainloop_unlock(pa_threaded_mainloop *m) { void pa_threaded_mainloop_signal(pa_threaded_mainloop *m) { assert(m); - /* Make sure that this function is called from the helper thread */ - assert(m->thread_running && pthread_equal(pthread_self(), m->thread_id)); - pthread_cond_broadcast(&m->cond); }