threads and malloc/free on freebsd 8.0

Dan Nelson dnelson at allantgroup.com
Fri May 21 20:26:03 UTC 2010


In the last episode (May 22), Anoop Kumar Narayanan said:
> I think glibc uses asynchronous free, as in it doesn't free the memory
> immediately.  So even though the memory is free'd its still part of the
> process's address space but present in the free pool and so it doesn't
> crash.

FreeBSD doesn't use glibc, so that doesn't apply here :)

-- 
	Dan Nelson
	dnelson at allantgroup.com


More information about the freebsd-questions mailing list