From 1891baacce35943dd1aead4f99ca84579bbf4622 Mon Sep 17 00:00:00 2001 From: jewelcodes Date: Fri, 6 Sep 2024 15:34:09 -0400 Subject: [PATCH] x86_64: fix in releaseLock() --- src/platform/x86_64/lock.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform/x86_64/lock.asm b/src/platform/x86_64/lock.asm index 99aa31c..64a57fd 100644 --- a/src/platform/x86_64/lock.asm +++ b/src/platform/x86_64/lock.asm @@ -64,6 +64,6 @@ acquireLockBlocking: global releaseLock align 16 releaseLock: - btr word[rdi], 0 + lock btr word[rdi], 0 xor rax, rax ret