/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigqueue/ |
D | 5-1.c | 22 #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()
|
D | 4-1.c | 22 #define SIGTOTEST SIGRTMIN macro 48 sigaction(SIGTOTEST, &act, 0); in main() 52 sighold(SIGTOTEST); in main() 56 if (sigqueue(pid, SIGTOTEST, value) != 0) { in main() 66 SIGTOTEST); in main() 70 sigrelse(SIGTOTEST); in main() 75 SIGTOTEST, counter, NUMCALLS, SIGTOTEST); in main()
|
D | 8-1.c | 23 #define SIGTOTEST SIGRTMIN macro 49 sigaction(SIGTOTEST, &act, 0); in main() 54 sighold(SIGTOTEST); in main() 57 if (sigqueue(pid, SIGTOTEST, value) != 0) { in main() 67 SIGTOTEST); in main() 71 sigrelse(SIGTOTEST); in main() 76 SIGTOTEST, counter, NUMCALLS, SIGTOTEST); in main()
|
D | 9-1.c | 25 #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()
|
D | 1-1.c | 22 #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/sigwaitinfo/ |
D | 1-1.c | 20 #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()
|
D | 8-1.c | 24 #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() 66 sigaddset(&selectset, SIGTOTEST); in main() 69 if (sigwaitinfo(&selectset, &info) != SIGTOTEST) { in main() 78 if (sigismember(&pendingset, SIGTOTEST) != 0) { in main() 81 SIGTOTEST); in main()
|
D | 9-1.c | 19 #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()
|
D | 5-1.c | 19 #define SIGTOTEST SIGUSR1 macro 45 sigaddset(&selectset, SIGTOTEST); in main() 48 sigaction(SIGTOTEST, &act, 0); in main() 49 sighold(SIGTOTEST); in main() 51 raise(SIGTOTEST); in main() 58 if (info.si_signo != SIGTOTEST) { in main()
|
D | 7-1.c | 23 #define SIGTOTEST SIGRTMIN macro 51 sigaction(SIGTOTEST, &act, 0); in main() 55 sighold(SIGTOTEST); in main() 59 if (sigqueue(pid, SIGTOTEST, value) != 0) { in main() 67 sigaddset(&selectset, SIGTOTEST); in main() 70 if (sigwaitinfo(&selectset, &info) != SIGTOTEST) { in main()
|
D | 6-1.c | 19 #define SIGTOTEST SIGUSR1 macro 45 sigaddset(&selectset, SIGTOTEST); in main() 48 sigaction(SIGTOTEST, &act, 0); in main() 49 sighold(SIGTOTEST); in main() 51 raise(SIGTOTEST); in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigtimedwait/ |
D | 4-1.c | 19 #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/ |
D | 2-1.c | 39 #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()
|
D | 1-1.c | 29 #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()
|
D | 1-2.c | 31 #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()
|
D | 3-1.c | 27 #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/ |
D | 1-2.c | 34 #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/ |
D | 1-2.c | 21 #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/ |
D | 1-2.c | 33 #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()
|
D | 1-1.c | 23 #define SIGTOTEST SIGABRT macro 42 if (sigaction(SIGTOTEST, &act, 0) == -1) { in main() 46 if (raise(SIGTOTEST) != 0) { in main()
|
D | 4-1.c | 28 #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/ |
D | 1-1.c | 24 #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/ |
D | 3-3.c | 25 #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/ |
D | 5-2.c | 35 #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()
|
D | 5-1.c | 35 #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()
|