Google Search: threads in javascript

One of the searches that came in to my blog was “threads in javascript”. I have writte about this previously on my blog. Basically, I couldn’t find anything that would allow “threading” in JavaScript. The closest I could come up with was to create a set of queues (that mimic threads). These queues hold items of work that need to be carried out and once every 250ms or a developer configured amount, the queue will ask a worker object to find out what work needs to be carried out.


This content originally appeared on Modern Web Development with Chrome and was authored by Paul Kinlan

<p>One of the searches that came in to my blog was "threads in javascript". I have writte about this previously on my blog. Basically, I couldn't find anything that would allow "threading" in JavaScript. <p />The closest I could come up with was to create a set of queues (that mimic threads). These queues hold items of work that need to be carried out and once every 250ms or a developer configured amount, the queue will ask a worker object to find out what work needs to be carried out. If there is work to do then it will start the task, if work is already being executed from the queue, then the work will not initiate the task.<p />Check out my AJAX Tagger 2.0 and see psuedo threads in action.<p />If someone else has any ideas about threading in Javscript I would love to hear it.<p /></p>


This content originally appeared on Modern Web Development with Chrome and was authored by Paul Kinlan


Print Share Comment Cite Upload Translate Updates
APA

Paul Kinlan | Sciencx (2005-11-20T00:00:00+00:00) Google Search: threads in javascript. Retrieved from https://www.scien.cx/2005/11/20/google-search-threads-in-javascript/

MLA
" » Google Search: threads in javascript." Paul Kinlan | Sciencx - Sunday November 20, 2005, https://www.scien.cx/2005/11/20/google-search-threads-in-javascript/
HARVARD
Paul Kinlan | Sciencx Sunday November 20, 2005 » Google Search: threads in javascript., viewed ,<https://www.scien.cx/2005/11/20/google-search-threads-in-javascript/>
VANCOUVER
Paul Kinlan | Sciencx - » Google Search: threads in javascript. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2005/11/20/google-search-threads-in-javascript/
CHICAGO
" » Google Search: threads in javascript." Paul Kinlan | Sciencx - Accessed . https://www.scien.cx/2005/11/20/google-search-threads-in-javascript/
IEEE
" » Google Search: threads in javascript." Paul Kinlan | Sciencx [Online]. Available: https://www.scien.cx/2005/11/20/google-search-threads-in-javascript/. [Accessed: ]
rf:citation
» Google Search: threads in javascript | Paul Kinlan | Sciencx | https://www.scien.cx/2005/11/20/google-search-threads-in-javascript/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.