diff options
author | Christopher Faylor <me@cgf.cx> | 2002-10-22 20:18:55 +0400 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2002-10-22 20:18:55 +0400 |
commit | 1cc651ecafae07b9ed6edff9952e2b31f0503d0a (patch) | |
tree | 682ab1ca541b857ae9440cec58d23fd61575d35a /winsup/cygwin/shared_info.h | |
parent | 5ec14fe40ae1a6b11d27b975feca1b20de435467 (diff) |
* 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.
Diffstat (limited to 'winsup/cygwin/shared_info.h')
-rw-r--r-- | winsup/cygwin/shared_info.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/shared_info.h b/winsup/cygwin/shared_info.h index c93fd6762..0156763e6 100644 --- a/winsup/cygwin/shared_info.h +++ b/winsup/cygwin/shared_info.h @@ -138,7 +138,7 @@ public: #define SHARED_INFO_CB 47112 -#define CURR_SHARED_MAGIC 0xd9e0bc22U +#define CURR_SHARED_MAGIC 0x359218a2U /* NOTE: Do not make gratuitous changes to the names or organization of the below class. The layout is checksummed to determine compatibility between @@ -148,7 +148,7 @@ class shared_info DWORD version; DWORD cb; public: - unsigned initial_heap_size; + unsigned heap_chunk; DWORD sys_mount_table_counter; tty_list tty; |