Home
last modified time | relevance | path

Searched refs:signal (Results 2426 - 2450 of 6242) sorted by relevance

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

/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()
H A D7-1.c9 signal shall be queued to the receiving process and that sigqueue returns 0.
14 - Block signal SIGTOTEST from the process.
26 #include <signal.h>
74 ("sigwaitinfo() returned signal other than SIGTOTEST\n"); in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_create/
H A D7-1.c16 #include <signal.h>
29 printf("Caught signal\n"); in handler()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_create/speculative/
H A D5-1.c12 * evp.sigev_signo="default signal" (assumed to be SIGALRM in speculative)
16 * of the default signal.
19 * 1. Set up sigaction structure to catch signal SIGALRM (default signal) on
23 * 4. If signal handler is called, continue. Otherwise, fail.
24 * 5. If signal handler was called and the time left in sleep ~= the
34 #include <signal.h>
47 printf("Caught signal\n"); in handler()
89 printf("default signal most likely != SIGALRM\n"); in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_gettime/
H A D1-1.c21 #include <signal.h>
H A D3-1.c21 #include <signal.h>
H A D1-3.c22 #include <signal.h>
H A D1-2.c22 #include <signal.h>
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_settime/
H A D5-2.c15 * - If signal handler is not called after a sufficient amount of sleeping,
18 * return before the signal is sent. TBD if this _should_ happen in
20 * For this test, signal SIGTOTEST will be used, clock CLOCK_REALTIME
25 #include <signal.h>
39 printf("Caught signal\n"); in handler()
85 printf("signal was not sent\n"); in main()
H A D8-2.c13 * For this test, signal SIGCONT will be used so that the test will
18 #include <signal.h>
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_nanosleep/
H A D2-2.c9 * until a signal whose action is to invoke a signal handling function
17 * - There is no way of knowing for sure that it was the signal that
22 #include <signal.h>
78 printf("Could not raise signal being tested\n"); in main()
H A D1-5.c8 * Test that clock_nanosleep() does not stop if a signal is received
9 * that has no signal handler. clock_nanosleep() should still respond
10 * to the signal, but should resume after a SIGCONT signal is received.
16 #include <signal.h>
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_settime/
H A D7-1.c23 #include <signal.h>
H A D8-1.c21 #include <signal.h>
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/
H A D6-1.c34 #include <signal.h>
95 printf("Child process terminated by signal %d\n", sig_num); in main()
H A D6-3.c35 #include <signal.h>
91 printf("Child process terminated by signal %d\n", sig_num); in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_notify/
H A D9-1.c24 #include <signal.h>
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/nanosleep/
H A D1-3.c9 * until a signal whose action is to invoke a signal handling function
14 #include <signal.h>
59 printf("Could not raise signal being tested\n"); in main()
H A D3-2.c13 #include <signal.h>
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrier_wait/
H A D2-1.c31 #include <signal.h>
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_kill/
H A D1-2.c19 * pthread_kill() sends the specified signal to the specified thread.
22 * -> set a signal handler
25 * -> Wait that the signal handler is called
26 * -> Check that the correct signal is received in the correct thread
28 * The test fails if a bad signal is received or bad thread receives it.
43 #include <signal.h>
91 ("The signal handler was not trigged in the killed thread"); in handler()
119 /* Set the signal handler */ in main()
125 UNRESOLVED(ret, "Failed to empty signal set"); in main()
131 UNRESOLVED(ret, "Failed to set signal handle in main()
[all...]
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_sigmask/
H A D4-1.c8 The resulting set shall be the union of the current set and the signal
13 2. Inside the new thread, set up the signal mask such that it contains
17 should be in the signal mask of the new thread.
31 #include <signal.h>
H A D5-1.c8 The resulting set shall be the signal set pointed to by set
12 2. Inside the new thread, set up the signal mask such that it contains
20 that SIG_SETMASK removed the old signal from the set.
33 #include <signal.h>
106 printf("FAIL: Old signal was not removed from mask.\n"); in a_thread_func()

Completed in 12 milliseconds

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