r/javascript • u/Waltex • Dec 05 '25
The missing standard library for multithreading in JavaScript
https://github.com/W4G1/multithreading
146
Upvotes
r/javascript • u/Waltex • Dec 05 '25
View all comments
Show parent comment
6
u/Waltex Dec 05 '25
Appreciate it! For atomic locking the library exposes
MutexandRwLock. They use Atomics.wait() and Atomics.notify() under the hood. Let me know if you're missing any other features 🙂