Commit 085f236f authored by 黄振令's avatar 黄振令

1.8197平台全部加signal会退出,所以区别对待

parent 5c08ea86
......@@ -208,15 +208,18 @@ int main(int argc, char* argv[])
int ret = 0;
struct sigaction sa;
#ifdef CONFIG_8197_PLATFORM
signal(SIGPIPE, SIG_IGN);
signal(SIGALRM, SIG_IGN);
signal(SIGSTOP, SIG_IGN);
#else
/* setup alarm signal handler */
//#ifdef CONFIG_NX5_PLATFORM
//for(int i=1;i<32;i++){
// printf("allan i=%d \n", i);
// signal(i, handler);
//}
for(int i=1;i<32;i++){
signal(i, handler);
}
//#endif
#endif
//signal(SIGPIPE, SIG_IGN);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment