summaryrefslogtreecommitdiff
path: root/src/thread/vmlock.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread/vmlock.c')
-rw-r--r--src/thread/vmlock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/thread/vmlock.c b/src/thread/vmlock.c
index aba9e311..125c6dc9 100644
--- a/src/thread/vmlock.c
+++ b/src/thread/vmlock.c
@@ -1,6 +1,6 @@
#include "pthread_impl.h"
-static int vmlock[2];
+static volatile int vmlock[2];
void __vm_lock(int inc)
{