-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, 16 Aug 2005, Braden McDaniel wrote:

One heap - you can free memory allocated in some other module.

That's the major selling point. Doing without this is giving up a lot; nonetheless, I find myself considering strategies that would ameliorate its absence.

Yea, for VOS this is pretty much essential. Besides the fact that most classes in VOS are reference counted (so may be deleted anywhere), we pass objects like std::string around between DLLs quite a bit which of course does its underlying allocation on the heap.

What I've been trying to figure out is how mingw handles C runtimes. As far as I can tell it links with msvcrt.dll, which I presume is the usual C runtime, but I've been getting these annoying SIGTRAP assertions (Invalid Address specified to RtlFreeHeap) that I mentioned in my previous email, which would suggest that it is using different heaps. I'm so confused.

[   Peter Amstutz   ][ [EMAIL PROTECTED] ][ [EMAIL PROTECTED]  ]
[Lead Programmer][Interreality Project][Virtual Reality for the Internet]
[ VOS: Next Generation Internet Communication][ http://interreality.org ]
[ http://interreality.org/~tetron ][ pgpkey:  pgpkeys.mit.edu  18C21DF7 ]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDApzRaeHUyhjCHfcRAtjzAJ43hO7zh/yvSVgOeukjbDIcVRtNQgCcCLwm
8AwI0FZgJ2zpPk/yW9YDTpU=
=hf2w
-----END PGP SIGNATURE-----


_______________________________________________
vos-d mailing list
vos-d@interreality.org
http://www.interreality.org/cgi-bin/mailman/listinfo/vos-d

Reply via email to