multithreading - Why SIGALRM can't happen in thread on HPUX? -
i found on hpux, sigalrm signal can created system , captured process correctly in single thread application. however, if set sigalrm in thread, sigalrm not happen anymore. why? issue occurs on hpux platforms, works on other unix platforms(solaris sparc,x86, linux, aix, mac , ubantu)
please me out! thanks!
signal handling in multithreaded environments: signal handler: unix platforms, signal handlers installed on per-process basis. in multithreaded environment, there 1 signal handler each signal within process. last signal handler installed thread valid threads in process. handler called when signal delivered.
also sigalrm
asynchronous signals generated events outside control of process receives them, , arrive @ unpredictable times. asynchronous signals delivered process not thread without regard instruction executing. that's why sigalrm
cann't happen in thread on hpux
.
this in hp-ux scheduling policies; there signal processing notes of hp-ux.
Comments
Post a Comment