Home
last modified time | relevance | path

Searched refs:sigcounts (Results 1 – 2 of 2) sorted by relevance

/dflybsd-src/test/libpthread/
H A Dsigwait_d.c44 static int sigcounts[NSIG + 1]; variable
60 while (sigcounts[SIGINT] == 0) { in sigwaiter()
67 sigcounts[signo]++; in sigwaiter()
86 sigcounts[signo]++; in sighandler()
119 memset ((void *) sigcounts, 0, NSIG * sizeof (int)); in main()
187 if (sigcounts[SIGIO] != 0) in main()
199 if (sigcounts[SIGURG] != 2) in main()
210 if (sigcounts[SIGUSR1] != 2) in main()
232 if (sigcounts[SIGHUP] != 2) in main()
245 sigcounts[SIGHUP] = 0; in main()
[all …]
H A Dsigsuspend_d.c44 static int sigcounts[NSIG + 1]; variable
70 while (sigcounts[SIGINT] == 0) { in sigsuspender()
96 sigcounts[signo]++; in sighandler()
160 memset ((void *) sigcounts, 0, NSIG * sizeof (int)); in main()
227 if (sigcounts[SIGIO] != 0) in main()
240 if (sigcounts[SIGURG] != 2) in main()
252 if (sigcounts[SIGUSR2] != 2) in main()
265 if (sigcounts[SIGUSR1] != 0) in main()