Lines Matching refs:thread
5 * tgkill() delivers a signal to a specific thread. Test this by installing
19 pthread_t thread;
36 struct thread_state *thread = arg;
43 thread->tid = sys_gettid();
52 static void start_thread(struct thread_state *thread)
54 SAFE_PTHREAD_CREATE(&thread->thread, NULL, thread_func, thread);
69 SAFE_PTHREAD_JOIN(threads[i].thread, NULL);
93 if (!pthread_equal(sigusr1_thread, threads[i].thread)) {
94 tst_res(TFAIL, "SIGUSR1 delivered to wrong thread");