3 ms·
I don't think so. Two threads updating the same variable would be observable in code. There's no way around it.
by recursive 3y ago
I don't think so. Two threads updating the same variable would be observable in code. There's no way around it.
- MuffinFlavored 3y agoI'm referring to something like this: https://stackoverflow.com/questions/7018093/is-nodejs-really-single-threaded https://stackoverflow.com/questions/7018093/is-nodejs-really... It's like a pedantic technical behind the scenes point I think, just trying to learn "what's true"
- recursive 3y agoLooks like the spec refers to the thing-that-has-the-thread as an "agent". https://tc39.es/ecma262/#sec-agents https://tc39.es/ecma262/#sec-agents I don't know the details about how any implementation of a javascript execution environment allows for the creation of new agents.