Skip to content

Commit

Permalink
x86_64: fix in releaseLock()
Browse files Browse the repository at this point in the history
  • Loading branch information
jewelcodes committed Sep 6, 2024
1 parent 349cef5 commit 1891baa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platform/x86_64/lock.asm
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,6 @@ acquireLockBlocking:
global releaseLock
align 16
releaseLock:
btr word[rdi], 0
lock btr word[rdi], 0
xor rax, rax
ret

0 comments on commit 1891baa

Please sign in to comment.