Hi all,

I'm writing an embedding app on Mac OS X. I'm using nsISupports proxies to access my embedded browser object from threads other than the main event thread. However, with Mozilla compiled with the Cocoa toolkit, this does not seem to work. The proxied code never runs, and if I kill my app, another thread of mine prints out an error saying that it couldn't create the proxy. The same code works fine under Win32.

As far as I can tell, under Win32 and Carbon, plevent.c uses native event queues to execute the XPCOM events on the main even thread. However, under Cocoa, most of that code is #ifdef'd out. I'm guessing that my proxy calls are getting queued up on the main thread's nsIEventQueue, but that the queue is never being emptied (since it appears that there is no code that would allow Cocoa's main event thread to do so). Is this correct? Any ideas on how to solve this? Any information would be greatly appreciated. Thanks.

Brad Fish
[EMAIL PROTECTED]
_______________________________________________
Mozilla-xpcom mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-xpcom

Reply via email to