* exceptions.cc (_cygtls::interrupt_now): Remove "inside cygwin" check since

some cygwin functions are meant to be interrupted.
This commit is contained in:
Christopher Faylor 2006-02-28 20:02:16 +00:00
parent 6fb7c8ae78
commit d405630e71
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2006-02-28 Christopher Faylor <cgf@timesys.com>
* exceptions.cc (_cygtls::interrupt_now): Remove "inside cygwin" check
since some cygwin functions are meant to be interrupted.
2006-02-28 Corinna Vinschen <corinna@vinschen.de> 2006-02-28 Corinna Vinschen <corinna@vinschen.de>
* cygwin.din: Export __isinff, __isinfd, __isnanf, __isnand. * cygwin.din: Export __isinff, __isinfd, __isnanf, __isnand.

View File

@ -309,7 +309,7 @@ inside_kernel (CONTEXT *cx)
/* Apparently Windows 95 can sometimes return bogus addresses from /* Apparently Windows 95 can sometimes return bogus addresses from
GetThreadContext. These resolve to a strange allocation base. GetThreadContext. These resolve to a strange allocation base.
These should *never* be treated as interruptible. */ These should *never* be treated as interruptible. */
if (!h || m.State != MEM_COMMIT || h == cygwin_hmodule) if (!h || m.State != MEM_COMMIT)
res = true; res = true;
else if (h == user_data->hmodule) else if (h == user_data->hmodule)
res = false; res = false;