Home | History | Annotate | Download | only in libpthread

Lines Matching defs:nthreads

46 #define NTHREADS    10
67 "Usage: %s [-d] [-h <nhosts>] [-n <nthreads>] <file> ...\n",
145 int nthreads = NTHREADS;
162 nthreads = atoi(optarg);
174 if ((nleft = malloc(nthreads * sizeof(int))) == NULL)
180 if ((threads = malloc(nthreads * sizeof(pthread_t))) == NULL)
184 for (i = 0; i < nthreads; i++) {
191 for (i = 0; i < nthreads; i++) {
207 for (i = 0; i < nthreads; i++)