This is the mail archive of the cygwin-cvs@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

src/winsup/cygwin ChangeLog cygheap.cc cygheap ...


CVSROOT:	/cvs/src
Module name:	src
Changes by:	cgf@sourceware.cygnus.com	2000-09-29 21:54:11

Modified files:
	winsup/cygwin  : ChangeLog cygheap.cc cygheap.h dcrt0.cc fork.cc 

Log message:
	* 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.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.325&r2=1.326
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/cygheap.cc.diff?cvsroot=src&r1=1.4&r2=1.5
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/cygheap.h.diff?cvsroot=src&r1=1.2&r2=1.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dcrt0.cc.diff?cvsroot=src&r1=1.59&r2=1.60
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fork.cc.diff?cvsroot=src&r1=1.23&r2=1.24


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]