singaction 用来改变信号的行为的一种信号处理函数,可以改变进程的优先级。一下也许对你有帮助:root@localhost clang]# ./test wait for the signal wait for the signal wait for the signal wait for the signal signal number:2 siginfo signo:2 siginfo errno:0 siginfo code:128 wait for the...