When XPCOM + XUL + JS + ... pretend to be a platform (XULRunner is not released yet, I know, but it is here and I try to write full-blown application absed on it, and I'm not alone!), it seems, that there are threads (nsIThread), but not semaphores, events and/ore mutexes in XPCOM. Now it is even impossible to know, is thread running or finished (join() will block, it is not a solution). And I can not find method to post thread on other thread in JavaScript (nsIEventTarget has method for this, but it marked as [noscript])! Am I right? Is here any plans to add them to TRUNK? Maybe, I've overlooked something?
And is ther any way to signal some event from background thread to UI one? For example, I need to notify UI thread, that background one finished it work and data is ready to show -- // Lev Serebryakov _______________________________________________ Mozilla-xpcom mailing list [email protected] http://mail.mozilla.org/listinfo/mozilla-xpcom
