4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-02-16 05:59:08 +08:00
Christopher Faylor 8d82847a29 * cygheap.cc (init_cheap): Set aside space for heap walk pointer.
(_csbrk): Make logic for detecting when to alloc cognizant of initialization
condition.
(_cmalloc): Use a structure to hold bucket size and heap chain pointer.  Store
pointer to next freed block in bucket size location so that it will be easy to
see if a block is allocated.
(_cfree): Store pointer to next freed block in bucket size location.
(_crealloc): Use macro to retrieve bucket size.
(cygheap_init): Eliminate.
(cygheap_fixup_in_child): Add second argument to determine if we were execed or
not.  In execed case, walk the heap, cleaning up any orphaned blocks.
* cygheap.h: Add a "MAX" value to cygheap_types.  Remove cygheap_init
declaration.  Accomodate new argument to cygheap_fixup_in child.
* fork.cc (fork): Accomodate extra argument to cygheap_fixup_in_child.
* dcrt0.cc (dll_crt0_1): Ditto.  Remove call to cygheap_init.
2000-09-30 04:54:11 +00:00
..
2000-08-02 20:13:18 +00:00
2000-02-17 19:38:33 +00:00
2000-07-28 23:21:04 +00:00
2000-02-21 03:18:37 +00:00
2000-02-17 19:38:31 +00:00
2000-02-17 19:38:33 +00:00
2000-09-03 04:16:35 +00:00
2000-09-03 04:16:35 +00:00
2000-02-17 19:38:33 +00:00
2000-02-17 19:38:33 +00:00
2000-02-17 19:38:33 +00:00
2000-02-17 19:38:33 +00:00
2000-02-17 19:38:33 +00:00
2000-02-17 19:38:33 +00:00
2000-08-18 19:51:02 +00:00
2000-09-03 04:16:35 +00:00
2000-02-17 19:38:33 +00:00
2000-02-17 19:38:33 +00:00
2000-02-17 19:38:33 +00:00
2000-02-17 19:38:31 +00:00
2000-07-28 23:21:04 +00:00
2000-07-19 17:42:16 +00:00