summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/cpu-arm.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>2009-12-06 11:51:17 +0000
commit978d33b609969c3b9bbbd759e0f11aaf856c80cf (patch)
treed6bd80af1d5f617281e0c2053ba92df9e2b4040b /src/pulsecore/cpu-arm.c
parentf42022a7d3157a3f3346b49c749d2262abea34c4 (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/pulsecore/cpu-arm.c')
0 files changed, 0 insertions, 0 deletions