hiding a pointer
Thomas Kuehne
thomas-dloop at kuehne.cn
Tue Oct 24 15:31:58 PDT 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Stewart Gordon schrieb am 2006-10-24:
> Thomas Kuehne wrote:
>> Sometimes you might have to hide a pointer, so that the GC doesn't
>> "see" it and might reclaim the pointer's destination if there are
>> no other pointers into this area.
><snip>
>
> And won't update it if it's moved by a copying GC.
Right, this aint no weak pointer but a hidden one.
Thomas
-----BEGIN PGP SIGNATURE-----
iD8DBQFFPqFKLK5blCcjpWoRAtpLAKCjfjn+Gmrmy3hyDfpt3yThSnj2AwCfVOPC
aegnJxYeIc+Jhz2AiGxJ2JY=
=05o9
-----END PGP SIGNATURE-----
More information about the Digitalmars-d-learn
mailing list