summaryrefslogtreecommitdiff
path: root/src/modules/udev-util.c
diff options
context:
space:
mode:
authorDavid Henningsson <david.henningsson@canonical.com>2012-05-18 22:29:41 +0200
committerArun Raghavan <arun.raghavan@collabora.co.uk>2012-07-03 17:18:24 +0530
commitac1a466f219389e543e2edd75dd5ea6cb86ef3f7 (patch)
tree2622fbbddf0ccddbd6ddaf668e4b051e6458abfa /src/modules/udev-util.c
parent1c055d70b09fd63156cdc8a49989977031e0f4af (diff)
once: Fix race causing pa_once to sometimes run twice
There was a race in the existing code that could cause the pa_once code to be run twice, see: http://lists.freedesktop.org/archives/pulseaudio-discuss/2012-April/013354.html Therefore the existing implementation was rewritten to instead look like the reference implementation here: http://www.hpl.hp.com/research/linux/atomic_ops/example.php4 Signed-off-by: David Henningsson <david.henningsson@canonical.com>
Diffstat (limited to 'src/modules/udev-util.c')
0 files changed, 0 insertions, 0 deletions