musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/src/thread/vmlock.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread/vmlock.c')
-rw-r--r--src/thread/vmlock.c 2
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)
{
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月05日 06:19:59 +0000

AltStyle によって変換されたページ (->オリジナル) /