* 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.
This commit is contained in:
@@ -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)));
|
||||
|
Reference in New Issue
Block a user