Home | History | Annotate | Download | only in util

Lines Matching refs:threads

17 	struct thread_map *threads;
28 threads = malloc(sizeof(*threads) + sizeof(pid_t) * items);
29 if (threads != NULL) {
31 threads->map[i] = atoi(namelist[i]->d_name);
32 threads->nr = items;
39 return threads;
44 struct thread_map *threads = malloc(sizeof(*threads) + sizeof(pid_t));
46 if (threads != NULL) {
47 threads->map[0] = tid;
48 threads->nr = 1;
51 return threads;
61 void thread_map__delete(struct thread_map *threads)
63 free(threads);