cygheap_types
Corinna Vinschen
corinna-cygwin@cygwin.com
Wed Nov 11 10:53:31 GMT 2020
On Nov 10 14:29, Ken Brown via Cygwin-developers wrote:
> Can someone explain to me the purpose of cygheap_types? I can't see where
> any use is made of the classification of cygheap allocations into different
> types, but I'm probably just missing it.
The cygheap types have two purposes. Debugging, because the
type tells you the original purpose of a cygheap block and,
within reason, where it has been allocated. More importantly,
they are differently handled in cygheap_fixup_in_child() to
handle inheritance of internal data by forked and execed children.
Corinna
More information about the Cygwin-developers
mailing list