mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-05 13:29:57 -05:00
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@canonical.com>
This commit is contained in:
parent
165bd13d9e
commit
0cebb630da
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue