Re: Thread save GUI parts?

Georg Maaß <[email protected]>
Newsgroups gmane.comp.mozilla.devel.dom
Message-ID <[email protected]>
Boris Zbarsky wrote:
>> Does this mean throwing an exception in a background thread, which
>> causes the error console to display the message, may also cause a crash?
>
> The console service notifies all console listeners (including the error
> console) asynchronously, on the threads they were registered on. So
> there is no problem with JS error reporting for background threads.

Ok, if exception throwing in the bg thread does not cause crashes, when 
it is displayed in the error console, is it also possible to use the 
same mechanismn the error console uses to get informed about exceptions 
in bg threads without crashing to inform a progress bar about progress 
updates without crashing. If this is possible, what exactly are the 
steps to implement for me to let me do long run jobs in back ground with 
informing a progressbar about progress updates.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.