OSDN Git Service

* child_info.h: Bump magic number.
authorcgf <cgf>
Tue, 17 Jul 2001 03:41:51 +0000 (03:41 +0000)
committercgf <cgf>
Tue, 17 Jul 2001 03:41:51 +0000 (03:41 +0000)
commite989768ff22203e0e60b7c45281c093bcf352dfb
tree5963ab30a755e168c15019e9c7f24dcf546b67e4
parent01af8045ccf0e0acfe1d9a76370ff406e952b845
* child_info.h: Bump magic number.
(class child_info): Add an element.
* cygheap.cc (init_cheap): Allocate cygwin heap in shared memory area.
(cygheap_fixup_in_child): Map cygwin heap, passed from parent via shared memory
into correct address.
(cygheap_setup_for_child): New function.
* cygheap.h: Declare new functions.
* dcrt0.cc (dll_crt0_1): Accomodate new cygheap_fixup_in_child arguments.
Avoid protecting subproc_ready unless it is spawn/nowait.
* fork.cc (fork_parent): Use new cygheap_setup_for_child function to setup
cygwin heap info.  Close passed cygheap shared memory handle.
* spawn.cc (spawn_guts): Ditto.  Also, reorganize to avoid synchronization
between parent and child in non-P_OVERLAY case.
* sigproc.cc (wait_sig): Only signal subproc_ready when execing.
winsup/cygwin/ChangeLog
winsup/cygwin/child_info.h
winsup/cygwin/cygheap.cc
winsup/cygwin/cygheap.h
winsup/cygwin/dcrt0.cc
winsup/cygwin/fork.cc
winsup/cygwin/shared.cc
winsup/cygwin/sigproc.cc
winsup/cygwin/spawn.cc