Changes

Jump to: navigation, search
A reasonable API target for now: sending OnDataAvailable() to other threads
Benjamin Smedberg suggested a much more modest goal: that non-main threads be allowed to directly receive the OnDataAvailable() call from the nsIStreamListener interface. All setup of the network channel before this point (and possibly after) would need to be handled on the main thread.
The meeting quickly came to a consensus that something like this would be sufficient for the existing uses use cases for which a multithreaded necko has been requested: most notably, for an off-main-thread HTML parser to be able to stream in HTML from the network without interfering/delaying the main thread (and vice versa).
There still remain, however, some questions about the exact API:
Confirm
431
edits

Navigation menu