Skip to content

Conversation

bnoordhuis
Copy link
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
52 checks passed
@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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants