Searched refs:SIGRTMIN (Results 1 - 25 of 44) sorted by relevance

12

/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigwait/
H A D2-1.c19 * 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 i
[all...]
H A D7-1.c20 * 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, SIGRTMA
[all...]
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigwaitinfo/
H A D2-1.c10 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/valgrind/gdbserver_tests/
H A Dnlpasssigalrm.stderr.exp9 ok: SIGRTMIN received
H A Dpasssigalrm.c18 #ifndef SIGRTMIN
19 // at least on MacOS, there is no SIGRTMIN.
21 #define SIGRTMIN SIGUSR1 macro
59 if (sigaction (SIGRTMIN, &sa, NULL) != 0)
61 if (kill(getpid(), SIGRTMIN) != 0)
64 fprintf (stderr, "ok: SIGRTMIN received\n");
/external/ltp/tools/top-LTP/proc/
H A Dsig.c42 #ifndef SIGRTMIN
43 #warning Standards require that <signal.h> define SIGRTMIN; assuming 32
44 #define SIGRTMIN 32 macro
135 return SIGRTMIN;
144 offset = SIGRTMIN;
154 if (val + SIGRTMIN > 127)
168 if (signo == SIGRTMIN)
171 sprintf(buf, "RTMIN+%d", signo - SIGRTMIN);
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigqueue/
H A D7-1.c10 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--) {
H A D1-1.c22 #define SIGTOTEST SIGRTMIN
H A D4-1.c23 #define SIGTOTEST SIGRTMIN
H A D5-1.c23 #define SIGTOTEST SIGRTMIN
H A D6-1.c28 #define SIGTOTEST SIGRTMIN
H A D8-1.c24 #define SIGTOTEST SIGRTMIN
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/lio_listio/
H A D10-1.c105 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);
H A D14-1.c115 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);
H A D15-1.c109 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);
H A D2-1.c104 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);
H A D3-1.c105 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);
H A D4-1.c112 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);
H A D7-1.c109 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);
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/
H A D3-1.c93 if (sigaction(SIGRTMIN + 1, &action, NULL)) {
120 aiocb->aio_sigevent.sigev_signo = SIGRTMIN + 1;
/external/kernel-headers/original/uapi/asm-arm/asm/
H A Dsignal.h56 #define SIGRTMIN 32 macro
/external/kernel-headers/original/uapi/asm-generic/
H A Dsignal.h49 #define SIGRTMIN 32 macro
/external/kernel-headers/original/uapi/asm-mips/asm/
H A Dsignal.h60 #define SIGRTMIN 32 macro
/external/kernel-headers/original/uapi/asm-x86/asm/
H A Dsignal.h61 #define SIGRTMIN 32 macro
/external/ltp/testcases/kernel/syscalls/rt_sigaction/
H A Drt_sigaction01.c99 for (signal = SIGRTMIN; signal <= SIGRTMAX; signal++) {

Completed in 345 milliseconds

12