]> git.alsa-project.org Git - alsa-plugins.git/commit
pulse: call pa_threaded_mainloop_wait() to handle spurious wakeups
authorLennart Poettering <mznyfn@0pointer.de>
Fri, 31 Jul 2009 14:02:21 +0000 (16:02 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 3 Aug 2009 10:36:25 +0000 (12:36 +0200)
commit16f837ec71a254a6bff7d26faf55237c4df5749c
tree920f4914d2f96421ebae64abb0745b9227e6e4af
parent422958fa4b8101af842220a67e77c8090ad34a8b
pulse: call pa_threaded_mainloop_wait() to handle spurious wakeups

pa_threaded_mainloop_wait() can wake up for no reason, according to the
specs of the underlying POSIX ptrhead_cond_wait() docs, so we need to
call it in a loop here which should be cleaner anyway.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
pulse/pulse.c