Skip to content

Fix ThreadSanitizer warning in quickjs-libc#562

Merged
bnoordhuis merged 1 commit intoquickjs-ng:masterfrom
bnoordhuis:fix-tsan-libc
Sep 28, 2024
Merged

Fix ThreadSanitizer warning in quickjs-libc#562
bnoordhuis merged 1 commit intoquickjs-ng:masterfrom
bnoordhuis:fix-tsan-libc

Conversation

@bnoordhuis
Copy link
Copy Markdown
Contributor

A global function pointer was getting accessed from multiple threads. Replace it with an atomic integer and an immediate function call.


Salvaged from #558
A global function pointer was getting accessed from multiple threads.
Replace it with an atomic integer and an immediate function call.
@bnoordhuis bnoordhuis merged commit 0bf36b9 into quickjs-ng:master Sep 28, 2024
@bnoordhuis bnoordhuis deleted the fix-tsan-libc branch September 28, 2024 20:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants