Lines Matching defs:th
33 pthread_t th[10];
34 for (int i = 0; i < sizeof(th) / sizeof(th[0]); i++)
35 pthread_create(&th[i], 0, thr1, 0);
36 for (int i = 0; i < sizeof(th) / sizeof(th[0]); i++)
37 pthread_join(th[i], 0);
58 pthread_t th[100];
59 for (int i = 0; i < sizeof(th) / sizeof(th[0]); i++)
60 pthread_create(&th[i], 0, thr, 0);
61 for (int i = 0; i < sizeof(th) / sizeof(th[0]); i++)
62 pthread_join(th[i], 0);