Open System Services Programmer's Guide
Table 56 Signals Processed by Threads (continued)
DescriptionDefault ActionTypeNumberName
Urgent condition on I/O
channel
Discard signalAsynchronous
2
5SIGURG
User-defined signal 1Terminate processAsynchronous16SIGUSR1
User-defined signal 2Terminate processAsynchronous17SIGUSR2
Terminal device window size
changed
Discard signalSynchronous12SIGWINCH
1
Signal cannot be caught or ignored.
2
For H06.20 and earlier H-series RVUs and J06.09 and earlier J-series RVUs, this is a synchronous signal
3
Not supported on G-series RVUs
Thread-Aware Signal Handling
For J-series RVUs, H06.06 and later H-series RVUs, and G06.29 and later G-series RVUs, the HP
implementation of Standard POSIX Threads catches both externally generated OSS signals and
synchronous signals, which are result of an event that occurs inside a process, and deliver them
to the correct thread.
By default, thread-aware signal behavior is disabled, and signals are handled at the process level.
To enable thread-aware signal handling, export the SPT_THREAD_AWARE_SIGNAL environmental
variable from within the shell to the value 1:
> export SPT_THREAD_AWARE_SIGNAL=1
Standard POSIX Threads 317