Necko: support sending OnDataAvailable() to other threads: Difference between revisions

Line 28: Line 28:




== Notes ==


=== Obstacles to a fully-threaded necko API ===
=== Notes: Obstacles to a fully-threaded necko API ===


* A large number of classes would need modification:  nsURI, nsChannels, IIOService and the various nsIProtocolHandlers.
* A large number of classes would need modification:  nsURI, nsChannels, IIOService and the various nsIProtocolHandlers.
* Authorization boxes would need to be popped up from non-main threads
* Authorization boxes would need to be popped up from non-main threads
* Many of the necko APIs have been implemented by Javascript extensions, which would suddenly need to be thread-safe
* Many of the necko APIs have been implemented by Javascript extensions, which would suddenly need to be thread-safe
Confirmed users
431

edits