Is there an object on given memory address?
tcak via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Thu Feb 12 02:03:16 PST 2015
Is there any "reliable" way to determine whether there is a
certain type of object in memory at a given address?
I am going to send the memory address of an object to another
program over pipes. Then after a while, other program will send
that memory address, and main program will try to address the
object. (Please do not concern about security). What I am worried
about is whether the object is still there, or garbage collector
has already removed it, or another object has come on same
address.
More information about the Digitalmars-d-learn
mailing list