lmammino / node-js-race-conditions

A series of examples illustrating race conditions in Node.js and potential solutions
MIT License
20 stars 5 forks source link

Create race-atomics.js #3

Closed tysonrm closed 1 year ago

tysonrm commented 1 year ago

Here it is using atomics.

lmammino commented 1 year ago

Thanks a lot, that's a pretty cool addition!