Quantcast
Channel: Is every function call in javascript practically a new thread? - Stack Overflow
Browsing latest articles
Browse All 2 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 latest articles
Browse All 2 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>