Talk:XPCOM:nsIThreadManager
From MozillaWiki
--Eyalroz 05:30, 21 July 2007 (PDT) Can someone please write a simple example of how to do, using the new API, what you would previously do by creating a runnable, then a thread with that runnable? Also, what do I do with observers? My existing code using thread was inspired by this example. Also, how do you kill a thread (if at all)? Who/what gets notified when a thread terminates?