Quantcast
Channel: Is every function call in javascript practically a new thread? - Stack Overflow
Browsing all 2 articles
Browse latest View live

Answer by Chris Tavares for Is every function call in javascript practically...

No, it's not a new thread: it's running an event loop.Examples of systems in C that work the same way:select-based polling where you stay on one thread, handle the result of select, then call select...

View Article


Is every function call in javascript practically a new thread?

I'm from a C background and find the asynchronicity of javascript very cool. I don't know however how things are asynchronous. Is it that every function-call is practically a new thread?

View Article
Browsing all 2 articles
Browse latest View live