Re: Simultaneous destructors

Chris Jones <[email protected]>
Newsgroups gmane.comp.mozilla.devel.dom
Message-ID <[email protected]>
Benjamin Smedberg wrote:
> How does IPDL deal with destructors that are fired simultaneously from both
> sides, e.g. ~PBrowserStream? Even if we make one side "win the race", won't
> IPDL reject the second destructor message (because it has an invalid actor
> ID) and abort the process? If it doesn't abort the process, what is the
> behavior (return values) of the second destructor message?
> 

Right now, IPDL treats dtors as it does any other message, and by "any 
message" standards that's not a race.

But this is just a good old fashioned bug, as dtors define an implicit 
transition, [alive]-->DEAD.  I'll add this in soon.

Cheers,
Chris
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.