aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/winsup.h
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2011-05-16 09:55:18 +0000
committerCorinna Vinschen <corinna@vinschen.de>2011-05-16 09:55:18 +0000
commit6d6cfa4840b66c2dc152e7eab915a8ac9c10ef71 (patch)
tree01dd5cde99e17518990bb4efe163a0048281f293 /winsup/cygwin/winsup.h
parent943e23a49f6f2fcb15cebe37e4c2361cab8f0fe4 (diff)
downloadnewlib-6d6cfa4840b66c2dc152e7eab915a8ac9c10ef71.zip
newlib-6d6cfa4840b66c2dc152e7eab915a8ac9c10ef71.tar.gz
newlib-6d6cfa4840b66c2dc152e7eab915a8ac9c10ef71.tar.bz2
* dcrt0.cc (child_info_fork::alloc_stack_hard_way): Check if the
requested stack is application-provided within the user heap or an mmapped region. If so, just use it. Add comment to explain why. * miscfuncs.cc (thread_wrapper): If an application-provided stack has been given, implement cygtls area at the stackbase. Fix comment. * mmap.cc (is_mmapped_region): New function. * winsup.h (is_mmapped_region): Declare.
Diffstat (limited to 'winsup/cygwin/winsup.h')
-rw-r--r--winsup/cygwin/winsup.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/winsup.h b/winsup/cygwin/winsup.h
index 087da61..44f0033 100644
--- a/winsup/cygwin/winsup.h
+++ b/winsup/cygwin/winsup.h
@@ -270,6 +270,7 @@ enum mmap_region_status
MMAP_NORESERVE_COMMITED
};
mmap_region_status mmap_is_attached_or_noreserve (void *addr, size_t len);
+bool is_mmapped_region (caddr_t start_addr, caddr_t end_address);
inline bool flush_file_buffers (HANDLE h)
{