From: Harry Tucker <snagaghash@sonetcom.com>
Subject: Multiple access to one object and deallocation
Date: Wed, 05 Nov 2003 07:17:39 -0600
Date: 2003-11-05T07:17:39-06:00 [thread overview]
Message-ID: <TL6qb.25$_A.12638@sooner.brightok.net> (raw)
My question is how to count references to an object so it will be
deallocated only after all references have gone out of scope or set to
null? An object reference could exist in several lists at any one time.
What I'm looking for is an easy way to catch my own coding errors so I
don't bleed memory too much by overlooking a reference (access type).
Does anyone know if A# uses managed code? Since that would solve the
issue through garbage collection. And then is pragma Controlled (ARM
13.11.3) implemented to prevent automatic garbage collection/movement of
an object if needed.
Harry
(When totally bored, 49, and retired, fight back! Writing a new mud in
Ada just might do the trick.)
next reply other threads:[~2003-11-05 13:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-05 13:17 Harry Tucker [this message]
2003-11-05 13:39 ` Multiple access to one object and deallocation Marius Amado Alves
2003-11-05 13:52 ` Dmitry A. Kazakov
2003-11-05 14:10 ` Preben Randhol
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox