OSDN Git Service

* cygheap.cc (cygheap_fixup_in_child): Use user_heap element in cygheap.
authorcgf <cgf>
Tue, 22 Oct 2002 16:18:55 +0000 (16:18 +0000)
committercgf <cgf>
Tue, 22 Oct 2002 16:18:55 +0000 (16:18 +0000)
commitf9341e21334d55d488e0297abfce7d82809ebde3
treec9781c752c1cdedc10bd40afb3ba9a0606e05b47
parent45eb1c25aa538d1bf327a8b67c2809462657042f
* cygheap.cc (cygheap_fixup_in_child): Use user_heap element in cygheap.
(init_cheap): Ditto for declaration.
* fork.cc (fork_parent): Use user_heap element in cygheap.
* heap.h (inheap): Ditto.
* heap.cc (sbrk): Ditto.
(heap_init): Ditto.  Reorganize to shrink heap chunk as required and record new
value in cygheap.
* dcrt0.cc (dll_crt0_1): More "move the cygthread init" games.
* shared.cc (open_shared): Rework memory protection to properly deal with
relocated shared segment.
(shared_info::heap_chunk_size): Rename element to 'heap_chunk'.
* shared_info.h (shared_info): Ditto for declaration.
* strace.cc (strace::hello): Report on heap chunk size from cygheap since it
may shrink.
winsup/cygwin/ChangeLog
winsup/cygwin/cygheap.cc
winsup/cygwin/cygheap.h
winsup/cygwin/dcrt0.cc
winsup/cygwin/dll_init.cc
winsup/cygwin/fork.cc
winsup/cygwin/heap.cc
winsup/cygwin/heap.h
winsup/cygwin/shared.cc
winsup/cygwin/shared_info.h
winsup/cygwin/strace.cc