Searched refs:sig_thread (Results 1 – 7 of 7) sorted by relevance
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_rdlock/ |
D | 4-1.c | 30 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/ |
D | 2-1.c | 30 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/ |
D | 6-1.c | 39 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()
|
D | 6-2.c | 49 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/ |
D | 6-1.c | 39 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()
|
D | 6-2.c | 49 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/ |
D | signals.c | 129 pthread_t sig_thread; in setup_sig_mask() local 158 pthread_create(&sig_thread, NULL, sig_handler, NULL); in setup_sig_mask()
|