避免pthread实例的SIGINT

时间:2014-04-27 21:25:30

标签: c multithreading pthreads signals

我在阻塞函数调用后在无限循环中创建线程。

我的SIGINT处理程序如下所示

get all child thread id's from pipe and kill them
close pipes, unlink named pipes

我想避免除主线程之外的所有线程的SIGINT信号。我怎么能这样做?

0 个答案:

没有答案
相关问题