src/winsup/cygwin ChangeLog cygheap ...
Fri Sep 29 21:54:00 GMT 2000

CVSROOT:	/cvs/src
Module name:	src
Changes by:	2000-09-29 21:54:11

Modified files:
	winsup/cygwin  : ChangeLog cygheap.h 

Log message:
	* (init_cheap): Set aside space for heap walk pointer.
	(_csbrk): Make logic for detecting when to alloc cognizant of initialization
	(_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): Accomodate extra argument to cygheap_fixup_in_child.
	* (dll_crt0_1): Ditto.  Remove call to cygheap_init.


More information about the Cygwin-cvs mailing list