Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2008-07-27 18:52:46 +0400
committerChristopher Faylor <me@cgf.cx>2008-07-27 18:52:46 +0400
commit904413e731347d5fd0e8356c3f79744eb3d977a4 (patch)
treedfda56c0bf0bfe3d28273c1de3c3b006e04e6cfb /winsup/cygwin/shared_info.h
parentbfd2b1c9307ebe2cf8611b447cafa2809c9ac8dd (diff)
* shared_info.h (shared_destroy): Declare.
* shared.cc (shared_destroy): Define new function to destroy shared memory regions. * init.cc (dll_entry): Call shared_destroy when dll detaches from the process.
Diffstat (limited to 'winsup/cygwin/shared_info.h')
-rw-r--r--winsup/cygwin/shared_info.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/winsup/cygwin/shared_info.h b/winsup/cygwin/shared_info.h
index d0ef600f9..45b347014 100644
--- a/winsup/cygwin/shared_info.h
+++ b/winsup/cygwin/shared_info.h
@@ -120,7 +120,7 @@ public:
#define SHARED_INFO_CB 39328
-#define CURR_SHARED_MAGIC 0x22f9ff0bU
+#define CURR_SHARED_MAGIC 0x398d8baU
/* NOTE: Do not make gratuitous changes to the names or organization of the
below class. The layout is checksummed to determine compatibility between
@@ -164,6 +164,7 @@ enum shared_locations
};
void __stdcall memory_init ();
+void __stdcall shared_destroy ();
#define shared_align_past(p) \
((char *) (system_info.dwAllocationGranularity * \