HomeSort by relevance Sort by last modified time
    Searched refs:SIGUSR1 (Results 226 - 250 of 603) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_setschedparam/
5-1.c 108 /* We block the signals SIGUSR1 and SIGUSR2 for this THREAD */
113 "Unable to block SIGUSR1 and SIGUSR2 in signal thread");
138 /* This one is registered for signal SIGUSR1 */
173 /* We don't block the signals SIGUSR1 and SIGUSR2 for this THREAD */
178 "Unable to unblock SIGUSR1 and SIGUSR2 in worker thread");
211 /* We prepare a signal set which includes SIGUSR1 and SIGUSR2 */
214 ret = sigaddset(&usersigs, SIGUSR1);
219 UNRESOLVED(ret, "Unable to add SIGUSR1 or 2 to a signal set");
222 /* We now block the signals SIGUSR1 and SIGUSR2 for this THREAD */
227 "Unable to block SIGUSR1 and SIGUSR2 in main thread")
    [all...]
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_sigmask/
18-1.c 106 /* We block the signals SIGUSR1 and SIGUSR2 for this THREAD */
111 "Unable to block SIGUSR1 and SIGUSR2 in signal thread");
136 /* This one is registered for signal SIGUSR1 */
182 /* We don't block the signals SIGUSR1 and SIGUSR2 for this THREAD */
187 "Unable to unblock SIGUSR1 and SIGUSR2 in worker thread");
240 if ((ret = sigaction(SIGUSR1, &sa, NULL))) {
250 /* We prepare a signal set which includes SIGUSR1 and SIGUSR2 */
253 ret = sigaddset(&usersigs, SIGUSR1);
258 UNRESOLVED(ret, "Unable to add SIGUSR1 or 2 to a signal set");
261 /* We now block the signals SIGUSR1 and SIGUSR2 for this THREAD *
    [all...]
  /external/strace/tests/
threads-execve.c 66 if (sigaction(SIGUSR1, &sa, NULL))
71 sigaddset(&mask, SIGUSR1);
75 raise(SIGUSR1);
siginfo.c 106 (void) raise(SIGUSR1);
117 ", si_pid=%d, si_uid=%u, si_status=SIGUSR1"
124 assert(WIFSIGNALED(s) && WTERMSIG(s) == SIGUSR1);
  /external/strace/tests-m32/
threads-execve.c 66 if (sigaction(SIGUSR1, &sa, NULL))
71 sigaddset(&mask, SIGUSR1);
75 raise(SIGUSR1);
siginfo.c 106 (void) raise(SIGUSR1);
117 ", si_pid=%d, si_uid=%u, si_status=SIGUSR1"
124 assert(WIFSIGNALED(s) && WTERMSIG(s) == SIGUSR1);
  /external/strace/tests-mx32/
threads-execve.c 66 if (sigaction(SIGUSR1, &sa, NULL))
71 sigaddset(&mask, SIGUSR1);
75 raise(SIGUSR1);
  /external/ltp/testcases/kernel/syscalls/kill/
kill02.c 87 Send the signal SIGUSR1 with pid equal to zero.
97 Set to catch SIGUSR1 with an int_rout1.
102 Pause until the signal SIGUSR1 comes in from the parent.
107 Set to catch SIGUSR1 with an int_rout2.
110 Pause until killed by parent because this child shouldn't receive signal SIGUSR1.
113 Set to catch SIGUSR1 with an int_routA.
115 Pause until the signal SIGUSR1 comes in from the parent.
119 Set to catch SIGUSR1 with an int_routB.
122 Pause until killed by parent because this child shouldn't receive signal SIGUSR1.
125 Write to the appropriate pipe that the signal SIGUSR1 was caught
    [all...]
  /system/core/libunwindstack/tests/
UnwindTest.cpp 228 ASSERT_EQ(0, sigaction(SIGUSR1, &act, &oldact));
238 ASSERT_EQ(0, syscall(__NR_tgkill, getpid(), tid.load(), SIGUSR1)) << "Error: " << strerror(errno);
257 ASSERT_EQ(0, sigaction(SIGUSR1, &oldact, nullptr));
282 ASSERT_EQ(0, kill(pid, SIGUSR1));
299 RemoteThroughSignal(SIGUSR1, 0);
303 RemoteThroughSignal(SIGUSR1, SA_SIGINFO);
  /external/elfutils/tests/
backtrace-child.c 21 Main thread will signal SIGUSR2. Other thread will signal SIGUSR1.
33 On any arch then sigusr2 calls raise (SIGUSR1) for --ptraceme.
114 raise (SIGUSR1);
164 raise (SIGUSR1);
  /external/linux-kselftest/tools/testing/selftests/powerpc/math/
fpu_signal.c 66 rc = sigaction(SIGUSR1, &act, NULL);
105 pthread_kill(tids[j], SIGUSR1);
vmx_signal.c 83 rc = sigaction(SIGUSR1, &act, NULL);
126 pthread_kill(tids[j], SIGUSR1);
  /external/ltp/testcases/kernel/controllers/memctl/
memctl_test01.c 95 /* Signal handling for SIGUSR1 recieved from script */
99 sigaction(SIGUSR1, &newaction1, &oldaction1);
125 if (kill(scriptpid, SIGUSR1) == -1)
  /external/ltp/testcases/kernel/mem/shmt/
shmt04.c 75 sigaddset(&set, SIGUSR1);
119 kill(pid, SIGUSR1);
shmt06.c 74 sigaddset(&set, SIGUSR1);
118 kill(pid, SIGUSR1);
  /external/ltp/testcases/kernel/sched/sched_stress/
sched_tc3.c 114 signal(SIGUSR1, signal_handler);
216 if (signal == SIGUSR1) {
219 printf("\n\t<< caught SIGUSR1 interrupt>>\n");
221 error("Failed to receive SIGUSR1 signal before timeout!",
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/
2-1.c 115 ret = sigaction(SIGUSR1, &sa_ori, NULL);
155 ret = sigaction(SIGUSR1, NULL, &sa_child);
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_open/
16-1.c 84 sigaddset(&mask, SIGUSR1);
103 kill(pid, SIGUSR1);
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_timedsend/
16-1.c 84 sigaddset(&mask, SIGUSR1);
127 kill(pid, SIGUSR1);
5-3.c 80 sigaddset(&mask, SIGUSR1);
114 kill(pid, SIGUSR1);
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_rdlock/
4-1.c 14 * 2. main thread create a thread sig_thread, the thread is set to handle SIGUSR1
16 * 4. main thread sends SIGUSR1 to sig_thread via pthread_kill
50 printf("sig_handler: handled signal SIGUSR1\n");
65 /* Try to block all signals when handling SIGUSR1 */
67 sigaction(SIGUSR1, &act, 0);
129 printf("main: fire SIGUSR1 to sig_thread\n");
130 if (pthread_kill(sig_thread, SIGUSR1) != 0) {
142 printf("SIGUSR1 was not caught by sig_thread\n");
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedrdlock/
6-1.c 19 * 2. main thread create a thread sig_thread, the thread is set to handle SIGUSR1
21 * 4. While the sig_thread is waiting (not expired yet), main thread sends SIGUSR1
59 /* Signal handler called by the thread when SIGUSR1 is received */
81 /* Set up signal handler for SIGUSR1 */
85 /* block all the signal when hanlding SIGUSR1 */
87 sigaction(SIGUSR1, &act, 0);
144 printf("main: fire SIGUSR1 to thread\n");
145 if (pthread_kill(sig_thread, SIGUSR1) != 0) {
164 printf("The handler for SIGUSR1 did not get called\n");
6-2.c 15 * 2. main thread create a thread sig_thread, the thread is set to handle SIGUSR1
17 * 4. While the sig_thread is waiting(not expried yet), main thread send SIGUSR1
90 /* Set up handler for SIGUSR1 */
94 /* block all the signal when hanlding SIGUSR1 */
96 sigaction(SIGUSR1, &act, 0);
157 printf("main: fire SIGUSR1 to thread\n");
158 if (pthread_kill(sig_thread, SIGUSR1) != 0) {
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedwrlock/
6-1.c 19 * 2. main thread create a thread sig_thread, the thread is set to handle SIGUSR1
21 * 4. While the sig_thread is waiting (not expired yet), main thread sends SIGUSR1
59 /* Signal handler called by the thread when SIGUSR1 is received */
81 /* Set up signal handler for SIGUSR1 */
85 /* block all the signal when hanlding SIGUSR1 */
87 sigaction(SIGUSR1, &act, 0);
144 printf("main: fire SIGUSR1 to thread\n");
145 if (pthread_kill(sig_thread, SIGUSR1) != 0) {
164 printf("The handler for SIGUSR1 did not get called\n");
6-2.c 15 * 2. main thread create a thread sig_thread, the thread is set to handle SIGUSR1
17 * 4. While the sig_thread is waiting(not expried yet), main thread send SIGUSR1
90 /* Set up handler for SIGUSR1 */
94 /* block all the signal when hanlding SIGUSR1 */
96 sigaction(SIGUSR1, &act, 0);
157 printf("main: fire SIGUSR1 to thread\n");
158 if (pthread_kill(sig_thread, SIGUSR1) != 0) {

Completed in 912 milliseconds

1 2 3 4 5 6 7 8 91011>>