summaryrefslogtreecommitdiffstats
path: root/src/modules/module-udev-detect.c
diff options
context:
space:
mode:
authorDaniel T Chen <crimsun@ubuntu.com>2010-01-04 21:44:37 -0500
committerLennart Poettering <lennart@poettering.net>2010-01-15 01:33:46 +0100
commita2418effe7c4bc54390939ccd07dd6227e6cdfa5 (patch)
treeb04c03932eb3fd3e59be8d010e5ef32a11a676a3 /src/modules/module-udev-detect.c
parent66e1a2d05139d7968d41d9f1a88c22093cdd04d5 (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-udev-detect.c')
0 files changed, 0 insertions, 0 deletions