Home
last modified time | relevance | path

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

1...<<919293949596979899100>>...253

/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>
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigtimedwait/
H A D1-1.c8 * Test that if the signal specified by set does not become pending,
21 1. Register signal TIMERSIGNAL with the handler myhandler
25 4. Call sigtimedwait() to wait for signal SIGTOTEST that will never be pending
39 #include <signal.h>
105 ("sigtimedwait() did not return -1 even though signal was not pending\n"); in main()
H A D2-1.c8 * Test that if the signal specified by set does not become pending,
21 1. Register signal TIMERSIGNAL with the handler myhandler
25 4. Call sigtimedwait() to wait for non-pending signal SIGTOTEST for SIGTIMEDWAITSEC
40 #include <signal.h>
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigwaitinfo/
H A D8-1.c9 for the selected signal, then the pending indication of that signal is
15 - Block signal SIGTOTEST from the process.
19 for signal SIGTOTEST has been reset.
27 #include <signal.h>
73 ("sigwaitinfo() returned signal other than SIGTOTEST\n"); in main()

Completed in 8 milliseconds

1...<<919293949596979899100>>...253