comp.lang.ada
 help / color / mirror / Atom feed
From: Matthew Heaney <matthewjheaney@earthlink.net>
Subject: Re: copy constructor for sockets
Date: Mon, 24 May 2004 12:36:18 GMT
Date: 2004-05-24T12:36:18+00:00	[thread overview]
Message-ID: <uoeod28l1.fsf@earthlink.net> (raw)
In-Reply-To: x7v8yfi77do.fsf@smaug.pushface.org

Simon Wright <simon@pushface.org> writes:

> I have it stuck in my head that Finalize can get called more than
> once. Which would make a mockery of (simple-minded) reference counting
> schemes, of course. Please tell me it ain't so! (or explain why it's
> not actually a problem ..)

That's OK because Finalize always sets its own rep ptr to null.  If
Finalize gets called again, then the ptr is null, in which case you do
nothing.





  parent reply	other threads:[~2004-05-24 12:36 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-22 10:19 copy constructor for sockets Andrew Carroll
2004-05-22 11:55 ` Simon Wright
2004-05-22 18:39   ` tmoran
2004-05-23 21:04   ` Matthew Heaney
2004-05-24  7:13     ` Marius Amado Alves
2004-05-24  3:23       ` Matthew Heaney
2004-05-24  4:53         ` Simon Wright
2004-05-24  5:20           ` tmoran
2004-05-25  4:53             ` Simon Wright
2004-05-24 12:36           ` Matthew Heaney [this message]
2004-05-25 21:50           ` Robert I. Eachus
  -- strict thread matches above, loose matches on Subject: below --
2004-05-22 21:18 Andrew Carroll
2004-05-22 21:46 ` tmoran
2004-05-23 11:21   ` Simon Wright
2004-05-24 18:26     ` tmoran
2004-05-25  5:10       ` Simon Wright
2004-05-25  6:37         ` tmoran
2004-05-23  9:43 ` Mark Lorenzen
2004-05-23 11:27 ` Simon Wright
2004-05-24 11:28 Andrew Carroll
2004-05-25  5:29 ` Simon Wright
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox