diff options
author | Arun Raghavan <arun.raghavan@collabora.co.uk> | 2009-12-06 12:20:53 +0530 |
---|---|---|
committer | Colin Guthrie <cguthrie@mandriva.org> | 2010-01-14 18:48:38 +0000 |
commit | 366e6d7e90d3bebc98a1af3cfb04b4cfc8cff6f5 (patch) | |
tree | 7abe92e052a17146cc1c2665fd4418c5667bbff4 /vala/libpulse.vapi | |
parent | 48e0f6808bcc8e07622e4a45b3aabfc4679e9966 (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 'vala/libpulse.vapi')
0 files changed, 0 insertions, 0 deletions