Possible Duplicate:
Why doesn't JavaScript support multithreading?
Is there some way to spawn new threads for running tasks (for network stuff or some heavy calculations) to work in parallel?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes and no.
You can use Web Workers to create background threads, but it’s far from all browsers that support that. Internet Explorer for example doesn’t have support for it until version 10.
In regular Javascript code there is no multi threading. Javascript is a strictly single threaded language.