Nille wrote:

Are there any rules in particular that pertains to threading in XPCOM
or to Firefox extensions? I've looked around, but can see any clear
definitions as one does in e.g. Microsoft COM. Any idea why it hangs?

In general, most mozilla components are designed to be used only from the main thread. If you are receiving notifications from another thread, you should proxy those notification back to the main thread before you work on them (this is how the networking code works, for example).

--BDS
_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom

Reply via email to