Lines Matching refs:thr_tids
70 int thr_tids[MAX_THREADS]; member
134 static void create_threads(int num_threads, int thr_tids[]) in create_threads() argument
148 thr_tids[i] = tid; in create_threads()
159 create_threads(ca->num_threads, ca->thr_tids); in child_func_process()
161 ret = write(ca->pfd[1], &ca->thr_tids, sizeof(int) * ca->num_threads); in child_func_process()
193 ret = read(proc[i].pfd[0], &proc[i].thr_tids, sizeof(int) * proc[i].num_threads); in create_processes()
212 printf(" tid=%d, / tgid=%d / pgid=%d: %lx\n", proc[i].thr_tids[j], in disp_processes()
213 proc[i].cpid, getpgid(0), get_cs_cookie(proc[i].thr_tids[j])); in disp_processes()
297 validate(get_cs_cookie(0) == get_cs_cookie(procs[pidx].thr_tids[0])); in main()
306 validate(get_cs_cookie(pid) == get_cs_cookie(procs[pidx].thr_tids[0])); in main()
316 validate(get_cs_cookie(pid) != get_cs_cookie(procs[pidx].thr_tids[0])); in main()
319 procs[pidx].thr_tids[0], getpid()); in main()
320 if (_prctl(PR_SCHED_CORE, PR_SCHED_CORE_SHARE_FROM, procs[pidx].thr_tids[0], in main()
325 validate(get_cs_cookie(0) == get_cs_cookie(procs[pidx].thr_tids[0])); in main()
326 validate(get_cs_cookie(pid) != get_cs_cookie(procs[pidx].thr_tids[0])); in main()
335 validate(get_cs_cookie(pid) == get_cs_cookie(procs[pidx].thr_tids[0])); in main()