"memememe" <[rem]casolorz[rem]@hot[rem]mail.com> wrote in message
news:Axheb.36$G b.19@news2.cent ral.cox.net...[color=blue]
> I see weak reference on the .net api, but I do not see soft or phantom,[/color]
are[color=blue]
> they supported on .net?
>[/color]
No. More seriously, neither are ReferenceQueues .
By the way, do you have a real use for PhantomReferenc es? I've never seen
one.
memememe,
System.WeakRefe rence supports a short or long weak reference by a parameter
to the constructor. a short weak reference does not track resurrection of
the target object, a long weak reference tracks resurrection of the target
object.
There was a discussion about this in microsoft.publi c.dotnet.framew ork.clr
about September 4th 2003. If the following does not take you to the thread,
Search for a thread with a subject of "Soft and weak references".
"memememe" <[rem]casolorz[rem]@hot[rem]mail.com> wrote in message
news:Axheb.36$G b.19@news2.cent ral.cox.net...[color=blue]
> I see weak reference on the .net api, but I do not see soft or phantom,[/color]
are[color=blue]
> they supported on .net?
>
>[/color]
im there with you, I have never seen anyone use phantom refs, I just wanted
to know if they are supported since I was explaining to my boss what java
has and why, and whether .net has that.
"Mike Schilling" <mscottschillin g@hotmail.com> wrote in message
news:%23OnzyW5h DHA.2192@TK2MSF TNGP09.phx.gbl. ..[color=blue]
>
> "memememe" <[rem]casolorz[rem]@hot[rem]mail.com> wrote in message
> news:Axheb.36$G b.19@news2.cent ral.cox.net...[color=green]
> > I see weak reference on the .net api, but I do not see soft or phantom,[/color]
> are[color=green]
> > they supported on .net?
> >[/color]
>
> No. More seriously, neither are ReferenceQueues .
>
> By the way, do you have a real use for PhantomReferenc es? I've never seen
> one.
>
>[/color]
Comment