/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigwait/ |
2-1.c | 19 * 1) Block a signal that supports queueing (the realtime signal SIGRTMIN). 26 * 6) Verify that there are no more instances for SIGRTMIN in the pending list. * 41 /* Add SIGRTMIN to the set of blocked signals */ 42 if (sigaddset(&newmask, SIGRTMIN) == -1) { 47 /* Obtain a set of pending signals and make sure SIGRTMIN 54 if (sigismember(&pendingset, SIGRTMIN) == 1) { 55 printf("Error: signal SIGRTMIN is pending\n"); 67 if (raise(SIGRTMIN) != 0) { 72 if (raise(SIGRTMIN) != 0) { 83 /* Make sure SIGRTMIN is still pending since sigwait should have onl [all...] |
7-1.c | 20 * range SIGRTMIN-SIGRTMAX are selected, the lower numbered is returned first. 23 * -> mask SIGRTMIN-SIGRTMAX 24 * -> raise the signals in the range SIGRTMIN-SIGRTMAX 107 for (i = SIGRTMIN; i <= SIGRTMAX; i++) { 124 for (i = SIGRTMIN + 1; i <= SIGRTMAX; i += 3) { 132 for (i = SIGRTMIN; i <= SIGRTMAX; i += 3) { 140 for (i = SIGRTMIN + 2; i <= SIGRTMAX; i += 3) { 151 for (i = SIGRTMIN; i <= SIGRTMAX; i++) { 159 output("SIGRTMIN: %d, SIGRTMAX: %d, i: %d, sig:%d\n", 160 SIGRTMIN, SIGRTMAX, i, sig) [all...] |
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigwaitinfo/ |
2-1.c | 10 range SIGRTMIN to SIGRTMAX. 13 - Register for myhandler to be called when any signal between SIGRTMIN 19 - call sigwaitinfo() and verify that it returns SIGRTMIN 49 for (rtsig = SIGRTMAX; rtsig >= SIGRTMIN; rtsig--) { 58 for (rtsig = SIGRTMAX; rtsig >= SIGRTMIN; rtsig--) { 67 if (sigwaitinfo(&selectset, NULL) != SIGRTMIN) { 69 ("Test FAILED: sigwaitinfo() did not return the lowest of the multiple pending signals between SIGRTMIN and SIGRTMAX\n");
|
/external/linux-kselftest/tools/testing/selftests/filesystems/ |
dnotify_test.c | 24 sigaction(SIGRTMIN + 1, &act, NULL); 27 fcntl(fd, F_SETSIG, SIGRTMIN + 1);
|
/external/valgrind/gdbserver_tests/ |
nlpasssigalrm.stderr.exp | 9 ok: SIGRTMIN received
|
passsigalrm.c | 18 #ifndef SIGRTMIN 19 // at least on MacOS, there is no SIGRTMIN. 21 #define SIGRTMIN SIGUSR1 59 if (sigaction (SIGRTMIN, &sa, NULL) != 0) 61 if (kill(getpid(), SIGRTMIN) != 0) 62 perror("kill sigrtmin"); 64 fprintf (stderr, "ok: SIGRTMIN received\n"); 66 fprintf (stderr, "wrong sigrtmin: unexpected value %d sigrtmin_received\n",
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/i386-linux-gnu/bits/ |
signum.h | 72 #define SIGRTMIN (__libc_current_sigrtmin ())
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/x86_64-linux-gnu/bits/ |
signum.h | 72 #define SIGRTMIN (__libc_current_sigrtmin ())
|
/bionic/tests/ |
sys_signalfd_test.cpp | 69 sigaddset64(&mask, SIGRTMIN); 72 TestSignalFd(signalfd64(-1, &mask, SFD_CLOEXEC), SIGRTMIN);
|
signal_test.cpp | 167 ScopedSignalHandler ssh(SIGRTMIN, [](int sig) { ASSERT_EQ(SIGRTMIN, sig); }); 171 sigaddset64(&wait_set, SIGRTMIN); 176 kill(pid, SIGRTMIN); 183 ASSERT_EQ(SIGRTMIN, received_signal); 235 // Block SIGRTMIN. 238 sigaddset64(&just_SIGRTMIN, SIGRTMIN); 241 ScopedSignalHandler ssh(SIGRTMIN, [](int) { ++g_sigsuspend64_signal_handler_call_count; }); 251 // Raise SIGRTMIN and check our signal handler wasn't called. 252 raise(SIGRTMIN); [all...] |
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigqueue/ |
7-1.c | 10 range SIGRTMIN to SIGRTMAX. 13 - Register for myhandler to be called when any signal between SIGRTMIN 59 for (rtsig = SIGRTMAX; rtsig >= SIGRTMIN; rtsig--) { 68 for (rtsig = SIGRTMAX; rtsig >= SIGRTMIN; rtsig--) {
|
1-1.c | 22 #define SIGTOTEST SIGRTMIN
|
4-1.c | 23 #define SIGTOTEST SIGRTMIN
|
5-1.c | 23 #define SIGTOTEST SIGRTMIN
|
6-1.c | 28 #define SIGTOTEST SIGRTMIN
|
8-1.c | 24 #define SIGTOTEST SIGRTMIN
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_suspend/ |
4-1.c | 109 /* Use SIGRTMIN+1 for individual completions */ 112 aiocbs[i].aio_sigevent.sigev_signo = SIGRTMIN + 1; 120 /* Use SIGRTMIN+2 for list completion */ 122 event.sigev_signo = SIGRTMIN + 2; 129 sigaction(SIGRTMIN + 1, &action, NULL); 135 sigaction(SIGRTMIN + 2, &action, NULL);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/lio_listio/ |
10-1.c | 105 aiocbs[i]->aio_sigevent.sigev_signo = SIGRTMIN + 1; 109 /* Use SIGRTMIN+2 for list completion */ 111 event.sigev_signo = SIGRTMIN + 2; 118 sigaction(SIGRTMIN + 1, &action, NULL); 124 sigaction(SIGRTMIN + 2, &action, NULL);
|
14-1.c | 115 aiocbs[i]->aio_sigevent.sigev_signo = SIGRTMIN + 1; 119 /* Use SIGRTMIN+2 for list completion */ 121 event.sigev_signo = SIGRTMIN + 2; 128 sigaction(SIGRTMIN + 1, &action, NULL); 134 sigaction(SIGRTMIN + 2, &action, NULL);
|
15-1.c | 109 aiocbs[i]->aio_sigevent.sigev_signo = SIGRTMIN + 1; 113 /* Use SIGRTMIN+2 for list completion */ 115 event.sigev_signo = SIGRTMIN + 2; 122 sigaction(SIGRTMIN + 1, &action, NULL); 128 sigaction(SIGRTMIN + 2, &action, NULL);
|
2-1.c | 104 aiocbs[i]->aio_sigevent.sigev_signo = SIGRTMIN + 1; 108 /* Use SIGRTMIN+2 for list completion */ 110 event.sigev_signo = SIGRTMIN + 2; 117 sigaction(SIGRTMIN + 1, &action, NULL); 123 sigaction(SIGRTMIN + 2, &action, NULL);
|
3-1.c | 105 aiocbs[i]->aio_sigevent.sigev_signo = SIGRTMIN + 1; 109 /* Use SIGRTMIN+2 for list completion */ 111 event.sigev_signo = SIGRTMIN + 2; 118 sigaction(SIGRTMIN + 1, &action, NULL); 124 sigaction(SIGRTMIN + 2, &action, NULL);
|
4-1.c | 112 aiocbs[i]->aio_sigevent.sigev_signo = SIGRTMIN + 1; 116 /* Use SIGRTMIN+2 for list completion */ 118 event.sigev_signo = SIGRTMIN + 2; 125 sigaction(SIGRTMIN + 1, &action, NULL); 131 sigaction(SIGRTMIN + 2, &action, NULL);
|
7-1.c | 109 aiocbs[i]->aio_sigevent.sigev_signo = SIGRTMIN + 1; 113 /* Use SIGRTMIN+2 for list completion */ 115 event.sigev_signo = SIGRTMIN + 2; 122 sigaction(SIGRTMIN + 1, &action, NULL); 128 sigaction(SIGRTMIN + 2, &action, NULL);
|
/system/core/libbacktrace/ |
BacktraceCurrent.h | 29 // use SIGRTMIN for the signal to dump the stack. 30 #define THREAD_SIGNAL SIGRTMIN
|