aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/oss.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2008-07-10 20:36:28 -0700
committerChris Robinson <[email protected]>2008-07-10 20:36:28 -0700
commit9e9ff44b176578035be146f89c5a06258cb6a019 (patch)
tree2447ca4ee5c26c164b3e88e88e2d0d44a110e11e /Alc/oss.c
parentf369be148f179161258cd789917f45c66faec428 (diff)
Use volatile for member variables that are changed in a different thread
Diffstat (limited to 'Alc/oss.c')
-rw-r--r--Alc/oss.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/oss.c b/Alc/oss.c
index ef1697d9..399d64bd 100644
--- a/Alc/oss.c
+++ b/Alc/oss.c
@@ -52,7 +52,7 @@ static char *oss_device_capture;
typedef struct {
int fd;
- int killNow;
+ volatile int killNow;
ALvoid *thread;
ALubyte *mix_data;