diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2006-07-13 08:33:34 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2006-07-13 08:33:34 +0000 |
commit | f6105f89d5a809cb2fbcac318da9fa8981576a51 (patch) | |
tree | 0758a73e314ae10f937f6e6ca9bd983fa7f28242 /winsup/cygwin/winsup.h | |
parent | d44b979536f0e922713ab132a871c062f61ea376 (diff) | |
download | cygnal-f6105f89d5a809cb2fbcac318da9fa8981576a51.tar.gz cygnal-f6105f89d5a809cb2fbcac318da9fa8981576a51.tar.bz2 cygnal-f6105f89d5a809cb2fbcac318da9fa8981576a51.zip |
* 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.
Diffstat (limited to 'winsup/cygwin/winsup.h')
-rw-r--r-- | winsup/cygwin/winsup.h | 2 |
1 files changed, 1 insertions, 1 deletions
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))); |