RE: DoD ordering (was Re: Timely object destruction)

2003-06-05 Thread Dan Sugalski
At 10:01 AM -0500 6/4/03, Garrett Goebel wrote: From: Graham Barr [mailto:[EMAIL PROTECTED] I may be missing something here. But within the resources of an object may be other PMCs. As those PMCs will not be referenced from anywhere else what is to stop the DoD run from freeing those before it

RE: DoD ordering (was Re: Timely object destruction)

2003-06-05 Thread Garrett Goebel
From: Graham Barr [mailto:[EMAIL PROTECTED] > > I may be missing something here. But within the resources of > an object may be other PMCs. As those PMCs will not be referenced > from anywhere else what is to stop the DoD run from freeing those > before it freed the object ? Putting my head out o

Re: DoD ordering (was Re: Timely object destruction)

2003-06-04 Thread Leopold Toetsch
Graham Barr <[EMAIL PROTECTED]> wrote: > I may be missing something here. But within the resources of an object may > be other PMCs. As those PMCs will not be referenced from anywhere else > what is to stop the DoD run from freeing those before it freed the object ? If the PMC has explicit knowle

Re: DoD ordering (was Re: Timely object destruction)

2003-06-04 Thread Graham Barr
On Wed, Jun 04, 2003 at 11:05:34AM +0200, Leopold Toetsch wrote: > Graham Barr <[EMAIL PROTECTED]> wrote: > > > I ask becasue what happens if an object actually wants > > to use its contents during its DESTROY ? > > > For example Net::POP3::DESTROY will send a reset command to its > > server if t

Re: DoD ordering (was Re: Timely object destruction)

2003-06-04 Thread Leopold Toetsch
Graham Barr <[EMAIL PROTECTED]> wrote: > I ask becasue what happens if an object actually wants > to use its contents during its DESTROY ? > For example Net::POP3::DESTROY will send a reset command to its > server if the user did not call the quit method first. But how > could it do this if the s

DoD ordering (was Re: Timely object destruction)

2003-06-04 Thread Graham Barr
On Tue, Jun 03, 2003 at 07:24:04PM -0400, Benjamin Goldberg wrote: > IIRC, DoD normally happens something vaguely like this: > >for my $p (@all_pmcs) { > clear_is_live_flag($p); >} >our $traverse; >sub set_is_live_flag($p) { > if( !test_is_live_flag($p) and test_is_agre