472,328 Members | 1,244 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,328 software developers and data experts.

weak, soft, phantom

I see weak reference on the .net api, but I do not see soft or phantom, are
they supported on .net?
Nov 15 '05 #1
3 2256

"memememe" <[rem]casolorz[rem]@hot[rem]mail.com> wrote in message
news:Ax************@news2.central.cox.net...
I see weak reference on the .net api, but I do not see soft or phantom, are they supported on .net?


No. More seriously, neither are ReferenceQueues.

By the way, do you have a real use for PhantomReferences? I've never seen
one.
Nov 15 '05 #2
memememe,
System.WeakReference 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.public.dotnet.framework.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".

http://groups.google.com/groups?hl=e...gbl%26rnum%3D1

Hope this helps
Jay

"memememe" <[rem]casolorz[rem]@hot[rem]mail.com> wrote in message
news:Ax************@news2.central.cox.net...
I see weak reference on the .net api, but I do not see soft or phantom, are they supported on .net?

Nov 15 '05 #3
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" <ms*************@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...

"memememe" <[rem]casolorz[rem]@hot[rem]mail.com> wrote in message
news:Ax************@news2.central.cox.net...
I see weak reference on the .net api, but I do not see soft or phantom,

are
they supported on .net?


No. More seriously, neither are ReferenceQueues.

By the way, do you have a real use for PhantomReferences? I've never seen
one.

Nov 15 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

383
by: John Bailo | last post by:
The war of the OSes was won a long time ago. Unix has always been, and will continue to be, the Server OS in the form of Linux. Microsoft...
1
by: com | last post by:
Extreme Web Reports 2005 - Soft30.com The wizard scans the specified MS Access database and records information such as report names, parameters...
0
by: Rod Billett | last post by:
The included html contains 3 divs. One primary Div, with 2 nested divs. the second nested DIV contains an empty table. Problem 1: Phantom Space....
9
by: Dave | last post by:
Apologies if this has come up before, but I can't find it if it has. I am fairly new to .Net and am having problems with ghosts in the datagrid. ...
9
by: TB | last post by:
Hi all: I realize that this is strictly speaking not an ASP.NET question, but since most of you people out there SQL gurus as well, I hope you...
3
by: John Nagle | last post by:
Are weak refs slower than strong refs? I've been considering making the "parent" links in BeautifulSoup into weak refs, so the trees will release...
0
by: paulvz882 | last post by:
comprimes de acomplia en France commander acomplia en ligne aucune prescription acomplia canada soft en ligne +++ PERTE DE POIDS +++ PERTE DE...
0
by: hessman1234 | last post by:
achat lipitor canada bon marche achat lipitor au rabais en ligne sans prescription acheter lipitor le plus bon marche un Achat de achat lipitor us...
0
by: jkjtjktjktjhktjk | last post by:
acheter du acomplia cinq acomplia par email PERTE DE POIDS en France acomplia canada soft en ligne acomplia belgique acomplia belgique bon marche...
0
by: tammygombez | last post by:
Hey everyone! I've been researching gaming laptops lately, and I must say, they can get pretty expensive. However, I've come across some great...
0
better678
by: better678 | last post by:
Question: Discuss your understanding of the Java platform. Is the statement "Java is interpreted" correct? Answer: Java is an object-oriented...
0
by: teenabhardwaj | last post by:
How would one discover a valid source for learning news, comfort, and help for engineering designs? Covering through piles of books takes a lot of...
0
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
0
by: CD Tom | last post by:
This happens in runtime 2013 and 2016. When a report is run and then closed a toolbar shows up and the only way to get it to go away is to right...
0
by: CD Tom | last post by:
This only shows up in access runtime. When a user select a report from my report menu when they close the report they get a menu I've called Add-ins...
0
jalbright99669
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.