[pulseaudio-commits] src/pulsecore
Colin Guthrie
colin at kemper.freedesktop.org
Sun Sep 25 05:44:47 PDT 2011
src/pulsecore/thread-mq.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 0cebb630da7af4a3fff79b44261115e6af08e21c
Author: David Henningsson <david.henningsson at canonical.com>
Date: Sun Sep 25 11:07:47 2011 +0200
Fix crash in threaded message queues
Once in a million or so, this typo causes a crash when two threads
simultaneously try to call "pa_asynqmsgq_write_poll".
BugLink: http://bugs.launchpad.net/bugs/853560
Signed-off-by: David Henningsson <david.henningsson at canonical.com>
diff --git a/src/pulsecore/thread-mq.c b/src/pulsecore/thread-mq.c
index 51fb765..b492793 100644
--- a/src/pulsecore/thread-mq.c
+++ b/src/pulsecore/thread-mq.c
@@ -42,7 +42,7 @@ static void asyncmsgq_read_cb(pa_mainloop_api*api, pa_io_event* e, int fd, pa_io
pa_assert(events == PA_IO_EVENT_INPUT);
pa_asyncmsgq_ref(aq = q->outq);
- pa_asyncmsgq_write_after_poll(aq);
+ pa_asyncmsgq_read_after_poll(aq);
for (;;) {
pa_msgobject *object;
More information about the pulseaudio-commits
mailing list