Home
last modified time | relevance | path

Searched refs:signal (Results 3376 - 3400 of 6270) sorted by relevance

1...<<131132133134135136137138139140>>...251

/third_party/ltp/testcases/kernel/syscalls/timer_settime/
H A Dtimer_settime01.c28 #include <signal.h>
64 * The busy loop is intentional. The signal is sent after X in clear_signal()
71 tst_res(TFAIL, "Received incorrect signal: %s", in clear_signal()
/third_party/ltp/testcases/kernel/syscalls/truncate/
H A Dtruncate03.c42 #include <signal.h>
/third_party/ltp/testcases/misc/math/float/power/
H A Dgenfmod.c35 #include <sys/signal.h>
H A Dgenpow.c35 #include <sys/signal.h>
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server-threads-foreign-libuv-smp/
H A Dminimal-ws-server.c23 #include <signal.h>
124 lwsl_notice("%s: thr %d: signal %d caught\n", __func__, n, in signal_cb()
/third_party/ltp/include/lapi/
H A Drt_sigaction.h39 * From asm/signal.h -- this value isn't exported anywhere outside of glibc and
40 * asm/signal.h and is only required for the rt_sig* function family because
46 * Also, from .../arch/x86/kernel/signal.c:448 for v2.6.30 (something or
59 static void handler_h(int signal) in handler_h() argument
64 /* Setup an initial signal handler for signal number = sig for x86_64. */
72 /* Clear out the signal set. */ in sig_initial()
74 /* Add the signal to the mask set. */ in sig_initial()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/
H A D2-1.c30 * -> signal handlers are copied
46 #include <signal.h>
89 /* Initialize the signal handler */ in main()
146 /* Check the signal handler stuff */ in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/lio_listio/
H A D10-1.c27 #include <signal.h>
H A D1-1.c28 #include <signal.h>
H A D2-1.c26 #include <signal.h>
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_open/
H A D2-1.c27 #include <signal.h>
H A D16-1.c30 #include <signal.h>
H A D9-2.c24 #include <signal.h>
H A D8-2.c24 #include <signal.h>
H A D7-2.c24 #include <signal.h>
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_timedsend/
H A D12-1.c10 * Test mq_timedsend() will set errno == EINTR if it is interrupted by a signal.
13 * 1. Create a thread and set up a signal handler for SIGUSR1
16 * 3. In main, send the thread the SIGUSR1 signal while mq_timedsend is
33 #include <signal.h>
48 /* variable to indicate how many times signal handler was called */
57 * This handler is just used to catch the signal and stop sleep (so the
94 /* main can now start sending SIGUSR1 signal */ in a_thread_func()
116 printf("thread: mq_timedsend interrupted by signal" in a_thread_func()
120 printf("mq_timedsend not interrupted by signal or" in a_thread_func()
153 /* signal threa in main()
[all...]
H A D16-1.c33 #include <signal.h>
51 * This handler is just used to catch the signal and stop sleep (so the
105 /* send signal to parent each time message is sent */ in main()
H A D5-3.c30 #include <signal.h>
48 * This handler is just used to catch the signal and stop sleep (so the
95 /* send signal to parent each time message is sent */ in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrierattr_getpshared/
H A D2-1.c38 #include <signal.h>
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_init/
H A D5-1.c39 #include <signal.h>
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedrdlock/
H A D6-2.c8 * If a signal that causes a signal handler to be executed is delivered to
10 * upon return from the signal handler the thread shall resume waiting for the lock
22 * 6. While sig_thread sleeping in signal handler, main thread unlock 'rwlock'
30 #include <signal.h>
66 printf("sig_handler: signal is handled by thread\n"); in sig_handler()
74 printf("sig_handler: signal is not handled by thread\n"); in sig_handler()
93 /* block all the signal when hanlding SIGUSR1 */ in th_fn()
145 /* wait for the thread to get ready for handling signal */ in main()
162 /* Wait for signal handle in main()
[all...]
H A D6-1.c8 * If a signal that causes a signal handler to be executed is delivered to
10 * upon return from the signal handler the thread shall resume waiting for the lock
13 * Test that after returning from a signal handler, the reader will continue
15 * time spent in signal handler is longer than the specified 'timeout').
32 #include <signal.h>
63 printf("sig_handler: signal is handled by sig_thread\n"); in sig_handler()
67 printf("sig_handler: signal is not handled by sig_thread\n"); in sig_handler()
80 /* Set up signal handler for SIGUSR1 */ in th_fn()
84 /* block all the signal whe in th_fn()
[all...]
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedwrlock/
H A D6-2.c8 * If a signal that causes a signal handler to be executed is delivered to
10 * upon return from the signal handler the thread shall resume waiting for the lock
22 * 6. While sig_thread sleeping in signal handler, main thread unlock 'rwlock'
30 #include <signal.h>
66 printf("sig_handler: signal is handled by thread\n"); in sig_handler()
74 printf("sig_handler: signal is not handled by thread\n"); in sig_handler()
93 /* block all the signal when hanlding SIGUSR1 */ in th_fn()
145 /* wait for the thread to get ready for handling signal */ in main()
162 /* Wait for signal handle in main()
[all...]
H A D6-1.c8 * If a signal that causes a signal handler to be executed is delivered to
10 * upon return from the signal handler the thread shall resume waiting for the lock
13 * Test that after returning from a signal handler, the reader will continue
15 * time spent in signal handler is longer than the specified 'timeout').
32 #include <signal.h>
63 printf("sig_handler: signal is handled by sig_thread\n"); in sig_handler()
67 printf("sig_handler: signal is not handled by sig_thread\n"); in sig_handler()
80 /* Set up signal handler for SIGUSR1 */ in th_fn()
84 /* block all the signal whe in th_fn()
[all...]
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_wrlock/
H A D2-1.c8 * If a signal is delivered to a thread waiting for a read-write lock for writing, upon
9 * return from the signal handler the thread resumes waiting for the read-write lock for
25 #include <signal.h>
49 printf("sig_handler: handled signal SIGUSR1\n"); in sig_handler()
52 printf("signal was not handled by sig_thread\n"); in sig_handler()
62 /* Set up signal handler for SIGUSR1 */ in th_fn()
65 /* block all the signal while handling SIGUSR1 */ in th_fn()
146 printf("The signal handler did not get called.\n"); in main()
158 ("Test FAILED: upon return from signal handler, sig_thread does not resume to wait\n"); in main()
163 ("sig_thread: correctly still blocking after signal handle in main()
[all...]

Completed in 9 milliseconds

1...<<131132133134135136137138139140>>...251