Searched refs:s_nthread (Results 1 – 1 of 1) sorted by relevance
46 static int s_nthread = 1; variable233 t = malloc(sizeof(struct gj_threadinfo) * s_nthread); in gj()235 pthread_barrier_init(&b, 0, s_nthread); in gj()241 for (i = 0; i < s_nthread; i++) in gj()247 t[i].r0 = i * rows / s_nthread; in gj()248 t[i].r1 = (i+1) * rows / s_nthread; in gj()254 for (i = 0; i < s_nthread; i++) in gj()326 case 't': s_nthread = atoi(optarg); break; in main()342 assert(s_nthread >= 1); in main()