summaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include/alMain.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-08-01 02:04:40 -0700
committerChris Robinson <[email protected]>2014-08-01 02:04:40 -0700
commit87423f046e378ec5c126cacb808dbc600481dcbd (patch)
tree2d735f719149dd2b00e9bebc45078cbde5907f84 /OpenAL32/Include/alMain.h
parent15a58eb38375247b6c57a7ceab5aa74895d638cd (diff)
Use atomics for the device and context list heads
Diffstat (limited to 'OpenAL32/Include/alMain.h')
-rw-r--r--OpenAL32/Include/alMain.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h
index 623968d0..5a85421f 100644
--- a/OpenAL32/Include/alMain.h
+++ b/OpenAL32/Include/alMain.h
@@ -694,11 +694,11 @@ struct ALCdevice_struct
struct ALeffectslot *DefaultSlot;
// Contexts created on this device
- ALCcontext *volatile ContextList;
+ ATOMIC(ALCcontext*) ContextList;
struct ALCbackend *Backend;
- void *ExtraData; // For the backend's use
+ void *ExtraData; // For the backend's use
ALCdevice *volatile next;