Re: Simultaneous destructors
Benjamin Smedberg <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.dom |
|---|---|
| Message-ID | <[email protected]> |
On 11/9/09 6:36 PM, Chris Jones wrote: >> Um, that /is/ the additional complexity :) Yes, it sounds like >> nothing much in >> theory, but it's certainly going to be more work, and might be subtle >> (we >> currently report to listeners when OnDataAvailable is fired: would we >> consolidate the notifications, too? Firebug might get less accurate >> info about >> network activity this way, for instance). >> > > I can't really comment on this because know very little about Necko > code. bsmedberg? It seems desirable to me that we do not require acknowledging every message: when the channel has data available, it sends that data along and doesn't cache it. I slightly prefer the divergent-path approach rather than the discard approach, for one main reason: it means that we don't have to implement special handling for actors which have already been "destructed" but are still receiving messages. I don't think my opinion is strong enough to *insist* on the divergent-path approach, though. If we do go with the discard-bad-messages approach, I'd like a very solid approach torwards zombie actor IDs. In any case, I'm also concerned with getting a theoretically sound approach implemented for plugin destructor races for 1.9.3. --BDS