OSDN Git Service

* exceptions.cc (interruptible): New function, code stripped from
authorcorinna <corinna>
Tue, 27 Dec 2005 20:07:59 +0000 (20:07 +0000)
committercorinna <corinna>
Tue, 27 Dec 2005 20:07:59 +0000 (20:07 +0000)
commit1139ea557b129689426d52a5daad226414d7426f
treeb686e50f7d04820e594784ee1fe1508d31562820
parent78ecbe9bacef76f193dda98ee167571ac6c0ef79
* exceptions.cc (interruptible): New function, code stripped from
_cygtls::interrupt_now.
(_cygtls::handle_exceptions): Handle STATUS_DATATYPE_MISALIGNMENT as
SIGBUS error.  Differ between unmapped memory (SEGV_MAPERR) and access
violation (SEGV_ACCERR) in case of STATUS_ACCESS_VIOLATION.  Write
kernel log message in case of uncatched STATUS_ACCESS_VIOLATION.
(_cygtls::interrupt_now): Just call interruptible now instead of
evaluating interruptibility here.
winsup/cygwin/ChangeLog
winsup/cygwin/exceptions.cc