Home
last modified time | relevance | path

Searched refs:signal (Results 2401 - 2425 of 6242) sorted by relevance

1...<<919293949596979899100>>...250

/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_sigmask/
H A D8-3.c9 1. Add only SIGABRT to the signal mask.
11 this point, we have obtained the signal mask in oactl.
13 that no other signal in the set is in oactl.
18 #include <signal.h>
72 printf("PASS: signal mask was not changed.\n"); in a_thread_func()
H A D8-1.c9 1. Add only SIGABRT to the signal mask.
11 this point, we have obtained the signal mask in oactl.
13 that no other signal in the set is in oactl.
18 #include <signal.h>
72 printf("PASS: signal mask was not changed.\n"); in a_thread_func()
H A D8-2.c10 1. Add only SIGABRT to the signal mask.
13 this point, we have obtained the signal mask in oactl.
15 that no other signal in the set is in oactl.
20 #include <signal.h>
73 printf("PASS: signal mask was not changed.\n"); in a_thread_func()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_lock/
H A D1-2.c27 #include <signal.h>
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_trylock/
H A D1-1.c20 * 5. Child thread check its state in the signal handler.
27 #include <signal.h>
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_unlock/
H A D1-2.c31 #include <signal.h>
H A D3-1.c28 #include <signal.h>
H A D1-1.c29 #include <signal.h>
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_post/
H A D6-1.c11 * sem_post() can be called from within a signal catching function
13 * 1) Set up a signal catching function for SIGALRM.
25 #include <signal.h>
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_wait/
H A D13-1.c21 * locked or the operation is interrupted by a signal.
25 * -> Register a signal handler for SIGALRM which post the semaphore
44 #include <signal.h>
84 UNRESOLVED(ret, "Failed to empty signal set"); in main()
90 UNRESOLVED(ret, "Failed to set signal handler"); in main()
H A D7-1.c10 * by sending a kill signal.
19 #include <signal.h>
78 } else { // parent to send a signal to child in main()
81 (void)kill(pid, SIGABRT); // send signal to child in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/
H A D23-10.c19 * If SA_NODEFER is not set in sa_flags, the caught signal is added to the
20 * thread's signal mask during the handler execution.
23 * -> register a signal handler for SIGPIPE
27 * The test fails if signal handler if reentered or signal is not pending when raised again.
41 #include <signal.h>
90 FAILED("Signal was not masked in signal handler"); in handler()
95 /* Raise the signal again. It should be masked */ in handler()
102 /* check the signal is pending */ in handler()
106 UNRESOLVED(ret, "Failed to get pending signal se in handler()
[all...]
H A D23-1.c19 * If SA_NODEFER is not set in sa_flags, the caught signal is added to the
20 * thread's signal mask during the handler execution.
23 * -> register a signal handler for SIGABRT
27 * The test fails if signal handler if reentered or signal is not pending when raised again.
41 #include <signal.h>
90 FAILED("Signal was not masked in signal handler"); in handler()
95 /* Raise the signal again. It should be masked */ in handler()
102 /* check the signal is pending */ in handler()
106 UNRESOLVED(ret, "Failed to get pending signal se in handler()
[all...]
H A D23-24.c19 * If SA_NODEFER is not set in sa_flags, the caught signal is added to the
20 * thread's signal mask during the handler execution.
23 * -> register a signal handler for SIGVTALRM
27 * The test fails if signal handler if reentered or signal is not pending when raised again.
41 #include <signal.h>
90 FAILED("Signal was not masked in signal handler"); in handler()
95 /* Raise the signal again. It should be masked */ in handler()
102 /* check the signal is pending */ in handler()
106 UNRESOLVED(ret, "Failed to get pending signal se in handler()
[all...]
H A D23-20.c19 * If SA_NODEFER is not set in sa_flags, the caught signal is added to the
20 * thread's signal mask during the handler execution.
23 * -> register a signal handler for SIGPROF
27 * The test fails if signal handler if reentered or signal is not pending when raised again.
41 #include <signal.h>
90 FAILED("Signal was not masked in signal handler"); in handler()
95 /* Raise the signal again. It should be masked */ in handler()
102 /* check the signal is pending */ in handler()
106 UNRESOLVED(ret, "Failed to get pending signal se in handler()
[all...]
H A D23-22.c19 * If SA_NODEFER is not set in sa_flags, the caught signal is added to the
20 * thread's signal mask during the handler execution.
23 * -> register a signal handler for SIGTRAP
27 * The test fails if signal handler if reentered or signal is not pending when raised again.
41 #include <signal.h>
90 FAILED("Signal was not masked in signal handler"); in handler()
95 /* Raise the signal again. It should be masked */ in handler()
102 /* check the signal is pending */ in handler()
106 UNRESOLVED(ret, "Failed to get pending signal se in handler()
[all...]
H A D23-25.c19 * If SA_NODEFER is not set in sa_flags, the caught signal is added to the
20 * thread's signal mask during the handler execution.
23 * -> register a signal handler for SIGXCPU
27 * The test fails if signal handler if reentered or signal is not pending when raised again.
41 #include <signal.h>
90 FAILED("Signal was not masked in signal handler"); in handler()
95 /* Raise the signal again. It should be masked */ in handler()
102 /* check the signal is pending */ in handler()
106 UNRESOLVED(ret, "Failed to get pending signal se in handler()
[all...]
H A D23-26.c19 * If SA_NODEFER is not set in sa_flags, the caught signal is added to the
20 * thread's signal mask during the handler execution.
23 * -> register a signal handler for SIGXFSZ
27 * The test fails if signal handler if reentered or signal is not pending when raised again.
41 #include <signal.h>
90 FAILED("Signal was not masked in signal handler"); in handler()
95 /* Raise the signal again. It should be masked */ in handler()
102 /* check the signal is pending */ in handler()
106 UNRESOLVED(ret, "Failed to get pending signal se in handler()
[all...]
H A D23-21.c19 * If SA_NODEFER is not set in sa_flags, the caught signal is added to the
20 * thread's signal mask during the handler execution.
23 * -> register a signal handler for SIGSYS
27 * The test fails if signal handler if reentered or signal is not pending when raised again.
41 #include <signal.h>
90 FAILED("Signal was not masked in signal handler"); in handler()
95 /* Raise the signal again. It should be masked */ in handler()
102 /* check the signal is pending */ in handler()
106 UNRESOLVED(ret, "Failed to get pending signal se in handler()
[all...]
H A D23-23.c19 * If SA_NODEFER is not set in sa_flags, the caught signal is added to the
20 * thread's signal mask during the handler execution.
23 * -> register a signal handler for SIGURG
27 * The test fails if signal handler if reentered or signal is not pending when raised again.
41 #include <signal.h>
90 FAILED("Signal was not masked in signal handler"); in handler()
95 /* Raise the signal again. It should be masked */ in handler()
102 /* check the signal is pending */ in handler()
106 UNRESOLVED(ret, "Failed to get pending signal se in handler()
[all...]
H A D23-2.c19 * If SA_NODEFER is not set in sa_flags, the caught signal is added to the
20 * thread's signal mask during the handler execution.
23 * -> register a signal handler for SIGALRM
27 * The test fails if signal handler if reentered or signal is not pending when raised again.
41 #include <signal.h>
90 FAILED("Signal was not masked in signal handler"); in handler()
95 /* Raise the signal again. It should be masked */ in handler()
102 /* check the signal is pending */ in handler()
106 UNRESOLVED(ret, "Failed to get pending signal se in handler()
[all...]
H A D23-3.c19 * If SA_NODEFER is not set in sa_flags, the caught signal is added to the
20 * thread's signal mask during the handler execution.
23 * -> register a signal handler for SIGBUS
27 * The test fails if signal handler if reentered or signal is not pending when raised again.
41 #include <signal.h>
90 FAILED("Signal was not masked in signal handler"); in handler()
95 /* Raise the signal again. It should be masked */ in handler()
102 /* check the signal is pending */ in handler()
106 UNRESOLVED(ret, "Failed to get pending signal se in handler()
[all...]
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigpending/
H A D1-3.c10 * in the main function and in the signal handler.
12 * 2) Block three signals from delivery to a signal handler.
13 * 3) Raise the signal to get into that signal handler.
14 * From the signal handler:
15 * 4) Raise one blocked signal in the signal handler.
16 * 5) Raise one blocked signal in the main process.
31 #include <signal.h>
H A D1-2.c9 * are blocked from delivery to a signal handler function. Steps are:
10 * 1) Block three signals from delivery to a signal handler.
11 * 2) Raise the signal to get into that signal handler.
12 * From the signal handler:
15 * 5) Verify the one signal not raised is not shown.
30 #include <signal.h>
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigqueue/
H A D9-1.c13 * - Block signal SIGTOTEST from the process.
27 #include <signal.h>

Completed in 9 milliseconds

1...<<919293949596979899100>>...250