Home
last modified time | relevance | path

Searched refs:sig_thread (Results 1 – 7 of 7) sorted by relevance

/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_rdlock/
D4-1.c30 static pthread_t sig_thread; variable
48 if (pthread_equal(pthread_self(), sig_thread)) { in sig_handler()
107 if (pthread_create(&sig_thread, NULL, th_fn, NULL) != 0) { in main()
129 if (pthread_kill(sig_thread, SIGUSR1) != 0) { in main()
183 if (pthread_join(sig_thread, NULL) != 0) { in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_wrlock/
D2-1.c30 static pthread_t sig_thread; variable
48 if (pthread_equal(pthread_self(), sig_thread)) { in sig_handler()
111 if (pthread_create(&sig_thread, NULL, th_fn, NULL) != 0) { in main()
134 if (pthread_kill(sig_thread, SIGUSR1) != 0) { in main()
183 if (pthread_join(sig_thread, NULL) != 0) { in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedwrlock/
D6-1.c39 static pthread_t sig_thread; variable
62 if (pthread_equal(pthread_self(), sig_thread)) { in sig_handler()
126 if (pthread_create(&sig_thread, NULL, th_fn, NULL) != 0) { in main()
144 if (pthread_kill(sig_thread, SIGUSR1) != 0) { in main()
187 if (pthread_join(sig_thread, NULL) != 0) { in main()
D6-2.c49 static pthread_t sig_thread; variable
65 if (pthread_equal(pthread_self(), sig_thread)) { in sig_handler()
140 if (pthread_create(&sig_thread, NULL, th_fn, NULL) != 0) { in main()
157 if (pthread_kill(sig_thread, SIGUSR1) != 0) { in main()
208 if (pthread_join(sig_thread, NULL) != 0) { in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedrdlock/
D6-1.c39 static pthread_t sig_thread; variable
62 if (pthread_equal(pthread_self(), sig_thread)) { in sig_handler()
126 if (pthread_create(&sig_thread, NULL, th_fn, NULL) != 0) { in main()
144 if (pthread_kill(sig_thread, SIGUSR1) != 0) { in main()
188 if (pthread_join(sig_thread, NULL) != 0) { in main()
D6-2.c49 static pthread_t sig_thread; variable
65 if (pthread_equal(pthread_self(), sig_thread)) { in sig_handler()
140 if (pthread_create(&sig_thread, NULL, th_fn, NULL) != 0) { in main()
157 if (pthread_kill(sig_thread, SIGUSR1) != 0) { in main()
208 if (pthread_join(sig_thread, NULL) != 0) { in main()
/external/ltp/testcases/kernel/io/disktest/
Dsignals.c129 pthread_t sig_thread; in setup_sig_mask() local
158 pthread_create(&sig_thread, NULL, sig_handler, NULL); in setup_sig_mask()