Searched refs:thr_tids (Results 1 – 1 of 1) sorted by relevance
/linux/tools/testing/selftests/sched/ |
H A D | cs_prctl_test.c | 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() [all …]
|