summaryrefslogtreecommitdiffstats
path: root/src/modules/udev-util.c
diff options
context:
space:
mode:
authorArun Raghavan <arun.raghavan@collabora.co.uk>2009-12-06 12:20:53 +0530
committerColin Guthrie <cguthrie@mandriva.org>2010-01-14 18:48:38 +0000
commit366e6d7e90d3bebc98a1af3cfb04b4cfc8cff6f5 (patch)
tree7abe92e052a17146cc1c2665fd4418c5667bbff4 /src/modules/udev-util.c
parent48e0f6808bcc8e07622e4a45b3aabfc4679e9966 (diff)
Mark shared variables as volatile
'n_waiting' and 'n_waiting_for_accept' may be accessed from mulitple threads, and thus need to be marked as volatile to suppres certain compiler optimisations. All uses are protected by a mutex, so we don't need to worry about cache issues (added documentation for this as well). This addresses bug #738.
Diffstat (limited to 'src/modules/udev-util.c')
0 files changed, 0 insertions, 0 deletions