diff options
author | Christopher Faylor <me@cgf.cx> | 2001-09-09 03:34:36 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2001-09-09 03:34:36 +0000 |
commit | e2ea684e4ecca39aae13d3cdcdcb12cf32621889 (patch) | |
tree | d5dcb4a9b1bfb8fe47b57de3ec380312e838c5a7 /winsup/cygwin/winsup.h | |
parent | c12a96d12fb912d3da7e1b6d9e68decf7b45b335 (diff) | |
download | cygnal-e2ea684e4ecca39aae13d3cdcdcb12cf32621889.tar.gz cygnal-e2ea684e4ecca39aae13d3cdcdcb12cf32621889.tar.bz2 cygnal-e2ea684e4ecca39aae13d3cdcdcb12cf32621889.zip |
* fork.cc (fork_parent): Stop malloc activity while fork is in control of the
heap.
* sigproc.cc (NZOMBIES): Rename from ZOMBIEMAX for clarity.
(zombies): Revert to original behavior. Allocating zombie array resulted in
performance hit.
* winsup.h: Declare malloc lock routines.
Diffstat (limited to 'winsup/cygwin/winsup.h')
-rw-r--r-- | winsup/cygwin/winsup.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/winsup/cygwin/winsup.h b/winsup/cygwin/winsup.h index 1b8c15579..657aa883e 100644 --- a/winsup/cygwin/winsup.h +++ b/winsup/cygwin/winsup.h @@ -211,6 +211,9 @@ extern "C" void __api_fatal (const char *, ...) __attribute__ ((noreturn)); extern "C" int __small_sprintf (char *dst, const char *fmt, ...) /*__attribute__ ((regparm (2)))*/; extern "C" int __small_vsprintf (char *dst, const char *fmt, va_list ap) /*__attribute__ ((regparm (3)))*/; +extern "C" void __malloc_lock (struct _reent *); +extern "C" void __malloc_unlock (struct _reent *); + /**************************** Exports ******************************/ extern "C" { |