* cygheap_types
@ 2020-11-10 19:29 Ken Brown
2020-11-11 10:53 ` cygheap_types Corinna Vinschen
0 siblings, 1 reply; 2+ messages in thread
From: Ken Brown @ 2020-11-10 19:29 UTC (permalink / raw)
To: cygwin-devel
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.
Thanks.
Ken
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: cygheap_types
2020-11-10 19:29 cygheap_types Ken Brown
@ 2020-11-11 10:53 ` Corinna Vinschen
0 siblings, 0 replies; 2+ messages in thread
From: Corinna Vinschen @ 2020-11-11 10:53 UTC (permalink / raw)
To: cygwin-developers
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-11-11 10:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-10 19:29 cygheap_types Ken Brown
2020-11-11 10:53 ` cygheap_types Corinna Vinschen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).