摘要:
试验 在一个进程内用 sigprocmask 堵塞 定义在 sigset中的信号#include "public.h"void myaction2(int sig,siginfo_t *info,void *reverse){for (int i=0;i<5;i++){printf("myaction2 = %d\n",i);sleep(1);}}int main(){int iFlag=0;pid_t pid;union sigval sival_data;struct sigaction action;action.sa_sigaction=m 阅读全文
posted @ 2011-11-24 14:33
一枚程序
阅读(332)
评论(0)
推荐(0)

浙公网安备 33010602011771号