毕业论文开发语言企业开发JAVA技术.NET技术WEB开发Linux/Unix数据库技术Windows平台移动平台嵌入式论文范文英语论文
您现在的位置: 毕业论文 >> linux >> 正文

进入信号处理函数,是不是会自动把进入信号加入信号屏蔽字?还有sigpending

更新时间:2012-9-6:  来源:毕业论文

进入信号处理函数,是不是会自动把进入信号加入信号屏蔽字?还有sigpending

是不是 要用sigsetjmp(),siglongjmp()进入信号处理函数才会自动把进入信号加入信号屏蔽字?
 
int sigprocmask(int how, const sigset_t *set, sigset_t *oldset);

              struct sigaction {
                  void (*sa_handler)(int);
                  void (*sa_sigaction)(int, siginfo_t *, void *);
                  sigset_t sa_mask;
                  int sa_flags;
                  void (*sa_restorer)(void);
              }

       sa_mask  gives a mask of signals which should be blocked during execution of the signal handler.  In addition, the signal which triggered the handler will be
       blocked, unless the SA_NODEFER or SA_NOMASK flags are used.

 

C/C++ code       The  sigpending  call allows the examination of pending signals (ones which have been raised while blocked).  The signal mask of pending signals is stored in
       set.


The  sigpending  call allows the examination of pending signals (ones which have been raised while blocked).  The signal mask of pending signals is stored in       set.

设为首页 | 联系站长 | 友情链接 | 网站地图 |

copyright©youerw.com 优尔论文网 严禁转载
如果本毕业论文网损害了您的利益或者侵犯了您的权利,请及时联系,我们一定会及时改正。