src/os/solaris/vm/os_solaris.cpp

changeset 4608
5cd2fac2ae70
parent 4607
b5e3ec9c69fa
child 4711
6b803ba47588
child 4739
ca9580859cf4
equal deleted inserted replaced
4607:b5e3ec9c69fa 4608:5cd2fac2ae70
4315 JVM_handle_solaris_signal(int signo, siginfo_t* siginfo, void* ucontext, 4315 JVM_handle_solaris_signal(int signo, siginfo_t* siginfo, void* ucontext,
4316 int abort_if_unrecognized); 4316 int abort_if_unrecognized);
4317 4317
4318 4318
4319 void signalHandler(int sig, siginfo_t* info, void* ucVoid) { 4319 void signalHandler(int sig, siginfo_t* info, void* ucVoid) {
4320 int orig_errno = errno; // Preserve errno value over signal handler.
4320 JVM_handle_solaris_signal(sig, info, ucVoid, true); 4321 JVM_handle_solaris_signal(sig, info, ucVoid, true);
4322 errno = orig_errno;
4321 } 4323 }
4322 4324
4323 /* Do not delete - if guarantee is ever removed, a signal handler (even empty) 4325 /* Do not delete - if guarantee is ever removed, a signal handler (even empty)
4324 is needed to provoke threads blocked on IO to return an EINTR 4326 is needed to provoke threads blocked on IO to return an EINTR
4325 Note: this explicitly does NOT call JVM_handle_solaris_signal and 4327 Note: this explicitly does NOT call JVM_handle_solaris_signal and

mercurial