From f6105f89d5a809cb2fbcac318da9fa8981576a51 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Thu, 13 Jul 2006 08:33:34 +0000 Subject: * exceptions.cc (_cygtls::handle_exceptions): Call new mmap_is_attached_or_noreserve_page function in case of access violation and allow application to retry access on noreserve pages. * mmap.cc (mmap_is_attached_or_noreserve_page): Changed from mmap_is_attached_page. Handle also noreserve pages now. Change comment accordingly. * winsup.h (mmap_is_attached_or_noreserve_page): Declare instead of mmap_is_attached_page. --- winsup/cygwin/winsup.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'winsup/cygwin/winsup.h') diff --git a/winsup/cygwin/winsup.h b/winsup/cygwin/winsup.h index 9a1039dc1..727151406 100644 --- a/winsup/cygwin/winsup.h +++ b/winsup/cygwin/winsup.h @@ -299,7 +299,7 @@ size_t getsystempagesize (); /* mmap functions. */ void mmap_init (); -bool mmap_is_attached_page (ULONG_PTR); +int mmap_is_attached_or_noreserve_page (ULONG_PTR addr); int winprio_to_nice (DWORD) __attribute__ ((regparm (1))); DWORD nice_to_winprio (int &) __attribute__ ((regparm (1))); -- cgit v1.2.3