diff options
author | Daniel T Chen <crimsun@ubuntu.com> | 2010-01-04 21:44:37 -0500 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-01-05 19:57:16 +0100 |
commit | c5fdbeab85dfe69ebaec92969ec2ce77b105f1df (patch) | |
tree | 8807e49ebd39acf362daf70c071c7c8a0bffff3f /src/modules/module-zeroconf-discover.c | |
parent | a63cf050b0be91310ae6b0b4fa3fa2b0f95e3efa (diff) |
threaded-mainloop: Properly initialise m->n_waiting_for_accept to prevent deadlock
Compiler optimisations have been seen to initialise
m->n_waiting_for_accept to a positive non-zero value, so the while() in
pa_threaded_mainloop_signal() never proceeds. Fix this by properly
initializing m->n_waiting_for_accept in pa_threaded_mainloop_new().
Patch from Iain Bucław.
https://bugs.launchpad.net/bugs/502992
Diffstat (limited to 'src/modules/module-zeroconf-discover.c')
0 files changed, 0 insertions, 0 deletions