Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I don't think so. Two threads updating the same variable would be observable in code. There's no way around it.


I'm referring to something like this: 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"


Looks like the spec refers to the thing-that-has-the-thread as an "agent". 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: