allow signalling from event loop thread

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@828 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
Lennart Poettering 2006-05-06 16:38:09 +00:00
parent 4cff5d3150
commit 3f92e3efa9

View file

@ -184,9 +184,6 @@ void pa_threaded_mainloop_unlock(pa_threaded_mainloop *m) {
void pa_threaded_mainloop_signal(pa_threaded_mainloop *m) { void pa_threaded_mainloop_signal(pa_threaded_mainloop *m) {
assert(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); pthread_cond_broadcast(&m->cond);
} }