Lines Matching defs:new
250 struct pthread *self, *new;
322 new = __copy_tls(tsd - libc.tls_size);
323 new->map_base = map;
324 new->map_size = size;
325 new->stack = stack;
326 new->stack_size = stack - stack_limit;
327 new->guard_size = guard;
328 new->self = new;
329 new->tsd = (void *)tsd;
330 new->locale = &libc.global_locale;
332 new->detach_state = DT_DETACHED;
334 new->detach_state = DT_JOINABLE;
336 new->robust_list.head = &new->robust_list.head;
337 new->canary = self->canary;
338 new->sysinfo = self->sysinfo;
340 /* Setup argument structure for the new thread on its stack.
355 /* Ensure SIGCANCEL is unblocked in new thread. This requires
364 ret = __clone((c11 ? start_c11 : start), stack, flags, args, &new->tid, TP_ADJ(new), &__thread_list_lock);
374 new->tid, attr._a_policy, &attr._a_prio);
382 new->next = self->next;
383 new->prev = self;
384 new->next->prev = new;
385 new->prev->next = new;
398 *res = new;