Home
last modified time | relevance | path

Searched refs:SIGTOTEST (Results 1 – 25 of 72) sorted by relevance

123

/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigwaitinfo/
D1-1.c20 #define SIGTOTEST SIGUSR1 macro
45 sigaddset(&selectset, SIGTOTEST); in main()
48 sigaction(SIGTOTEST, &act, 0); in main()
49 sighold(SIGTOTEST); in main()
50 raise(SIGTOTEST); in main()
54 if (sigismember(&pendingset, SIGTOTEST) != 1) { in main()
67 if (sigismember(&pendingset, SIGTOTEST) != 0) { in main()
70 SIGTOTEST); in main()
D8-1.c24 #define SIGTOTEST SIGRTMIN macro
52 sigaction(SIGTOTEST, &act, 0); in main()
56 sighold(SIGTOTEST); in main()
60 if (sigqueue(pid, SIGTOTEST, value) != 0) { in main()
68 sigaddset(&selectset, SIGTOTEST); in main()
71 if (sigwaitinfo(&selectset, &info) != SIGTOTEST) { in main()
80 if (sigismember(&pendingset, SIGTOTEST) != 0) { in main()
83 SIGTOTEST); in main()
D9-1.c19 #define SIGTOTEST SIGUSR1 macro
44 sigaddset(&selectset, SIGTOTEST); in main()
47 sigaction(SIGTOTEST, &act, 0); in main()
48 sighold(SIGTOTEST); in main()
49 raise(SIGTOTEST); in main()
53 if (sigismember(&pendingset, SIGTOTEST) != 1) { in main()
58 if (sigwaitinfo(&selectset, NULL) != SIGTOTEST) { in main()
D5-1.c19 #define SIGTOTEST SIGUSR1 macro
47 sigaddset(&selectset, SIGTOTEST); in main()
50 sigaction(SIGTOTEST, &act, 0); in main()
51 sighold(SIGTOTEST); in main()
53 raise(SIGTOTEST); in main()
60 if (info.si_signo != SIGTOTEST) { in main()
D7-1.c23 #define SIGTOTEST SIGRTMIN macro
53 sigaction(SIGTOTEST, &act, 0); in main()
57 sighold(SIGTOTEST); in main()
61 if (sigqueue(pid, SIGTOTEST, value) != 0) { in main()
69 sigaddset(&selectset, SIGTOTEST); in main()
72 if (sigwaitinfo(&selectset, &info) != SIGTOTEST) { in main()
D6-1.c19 #define SIGTOTEST SIGUSR1 macro
47 sigaddset(&selectset, SIGTOTEST); in main()
50 sigaction(SIGTOTEST, &act, 0); in main()
51 sighold(SIGTOTEST); in main()
53 raise(SIGTOTEST); in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigqueue/
D5-1.c22 #define SIGTOTEST SIGRTMIN macro
48 sigaction(SIGTOTEST, &act, 0); in main()
53 sighold(SIGTOTEST); in main()
56 if (sigqueue(pid, SIGTOTEST, value) != 0) { in main()
66 SIGTOTEST); in main()
70 sigrelse(SIGTOTEST); in main()
74 SIGTOTEST); in main()
77 printf("Test PASSED: %d was received %d times.\n", SIGTOTEST, counter); in main()
D8-1.c23 #define SIGTOTEST SIGRTMIN macro
51 sigaction(SIGTOTEST, &act, 0); in main()
56 sighold(SIGTOTEST); in main()
59 if (sigqueue(pid, SIGTOTEST, value) != 0) { in main()
69 SIGTOTEST); in main()
73 sigrelse(SIGTOTEST); in main()
78 SIGTOTEST, counter, NUMCALLS, SIGTOTEST); in main()
D4-1.c22 #define SIGTOTEST SIGRTMIN macro
50 sigaction(SIGTOTEST, &act, 0); in main()
54 sighold(SIGTOTEST); in main()
58 if (sigqueue(pid, SIGTOTEST, value) != 0) { in main()
68 SIGTOTEST); in main()
72 sigrelse(SIGTOTEST); in main()
77 SIGTOTEST, counter, NUMCALLS, SIGTOTEST); in main()
D9-1.c25 #define SIGTOTEST SIGRTMIN macro
67 sighold(SIGTOTEST); in main()
81 if (sigqueue(pid, SIGTOTEST, value) != 0) { in main()
91 rc = sigqueue(pid, SIGTOTEST, value); in main()
D1-1.c22 #define SIGTOTEST SIGRTMIN macro
34 if (signo == SIGTOTEST && info->si_value.sival_int == VALTOTEST) { in myhandler()
51 sigaction(SIGTOTEST, &act, 0); in main()
65 if (sigqueue(pid, SIGTOTEST, value) != 0) { in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigtimedwait/
D4-1.c19 #define SIGTOTEST SIGUSR1 macro
49 sigaddset(&selectset, SIGTOTEST); in main()
52 sigaction(SIGTOTEST, &act, 0); in main()
53 sighold(SIGTOTEST); in main()
54 raise(SIGTOTEST); in main()
58 if (sigismember(&pendingset, SIGTOTEST) != 1) { in main()
63 if (sigtimedwait(&selectset, NULL, &ts) != SIGTOTEST) { in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigpause/
D2-1.c39 #define SIGTOTEST SIGABRT macro
62 sigaction(SIGTOTEST, &act, 0); in a_thread_func()
63 sighold(SIGTOTEST); in a_thread_func()
65 if ((sigpause(SIGTOTEST) != -1) || (errno != EINTR)) { in a_thread_func()
74 raise(SIGTOTEST); in a_thread_func()
76 if (sigismember(&pendingset, SIGTOTEST) == 1) { in a_thread_func()
97 if (pthread_kill(new_th, SIGTOTEST) != 0) { in main()
D1-1.c29 #define SIGTOTEST SIGABRT macro
46 sigaction(SIGTOTEST, &act, 0); in a_thread_func()
47 sighold(SIGTOTEST); in a_thread_func()
48 sigpause(SIGTOTEST); in a_thread_func()
63 if (pthread_kill(new_th, SIGTOTEST) != 0) { in main()
D1-2.c31 #define SIGTOTEST SIGABRT macro
47 sigaction(SIGTOTEST, &act, 0); in a_thread_func()
48 sigpause(SIGTOTEST); in a_thread_func()
72 if (pthread_kill(new_th, SIGTOTEST) != 0) { in main()
D3-1.c27 #define SIGTOTEST SIGABRT macro
47 sigaction(SIGTOTEST, &act, 0); in a_thread_func()
48 return_value = sigpause(SIGTOTEST); in a_thread_func()
83 if (pthread_kill(new_th, SIGTOTEST) != 0) { in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/kill/
D1-2.c34 #define SIGTOTEST SIGUSR1 macro
54 if (sigaddset(&set, SIGTOTEST) == -1) { in main()
66 sigaction(SIGTOTEST, &act, 0); in main()
75 if (sig != SIGTOTEST) in main()
85 if (kill(pid, SIGTOTEST) != 0) { in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/killpg/
D1-2.c21 #define SIGTOTEST SIGUSR1 macro
46 sigaction(SIGTOTEST, &act, 0); in main()
67 sigignore(SIGTOTEST); in main()
75 if (killpg(child_pgid, SIGTOTEST) != 0) { in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/raise/
D1-2.c33 #define SIGTOTEST SIGABRT macro
57 if (sigaction(SIGTOTEST, &parentact, 0) == -1) { in main()
72 if (sigaction(SIGTOTEST, &childact, 0) == -1) { in main()
76 if (raise(SIGTOTEST) != 0) { in main()
D1-1.c23 #define SIGTOTEST SIGABRT macro
42 if (sigaction(SIGTOTEST, &act, 0) == -1) { in main()
46 if (raise(SIGTOTEST) != 0) { in main()
D4-1.c28 #define SIGTOTEST SIGABRT macro
47 if (sigaction(SIGTOTEST, &act, 0) == -1) { in main()
51 if (kill(getpid(), SIGTOTEST) != 0) { in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_getoverrun/
D1-1.c24 #define SIGTOTEST SIGALRM macro
49 ev.sigev_signo = SIGTOTEST; in main()
61 if (sigaction(SIGTOTEST, &act, 0) != 0) { in main()
91 if (sigaddset(&set, SIGTOTEST) != 0) { in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_settime/
D3-3.c25 #define SIGTOTEST SIGALRM macro
42 ev.sigev_signo = SIGTOTEST; in main()
49 if (sigaddset(&set, SIGTOTEST) != 0) { in main()
93 if (sigaction(SIGTOTEST, &act, 0) == -1) { in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_settime/
D5-1.c35 #define SIGTOTEST SIGALRM macro
65 ev.sigev_signo = SIGTOTEST; in main()
75 if (sigaddset(&set, SIGTOTEST) != 0) { in main()
80 if (sigaction(SIGTOTEST, &act, 0) != 0) { in main()
D5-2.c35 #define SIGTOTEST SIGALRM macro
65 ev.sigev_signo = SIGTOTEST; in main()
75 if (sigaddset(&set, SIGTOTEST) != 0) { in main()
80 if (sigaction(SIGTOTEST, &act, 0) != 0) { in main()

123