Sandip Ghosh wrote:
Thanks for your response, I am new to XPCOM dev and could not find any good documentation for the methods in nsIThread.
I'd file a bug on improving the documentation for nsIThread, but the interface had major changes on trunk, so that'd be pointless. AFAIK most nsIThread functions (in Gecko 1.8) map pretty directly to the NSPR functions, so http://www.mozilla.org/projects/nspr/reference/html/prthrd.html#15091 might be a useful reference.
So what I want to do is create a background thread from the UI thread and start it and let it run to completion without joining or interrupting it. In that case do I just set the PRThreadState to STATE_UNJOINABLE and not call the Join ?
Yeah, that seems like the best solution. _______________________________________________ dev-tech-xpcom mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-xpcom
