Lines Matching +defs:child +defs:name
78 extern int __sysctl(int *name, u_int namelen, void *oldp, size_t *oldlenp,
162 static inline int __pthread_remove_thread(pthread_t t, bool child, bool *should_exit);
921 pthread_setname_np(const char *name)
927 if (name != NULL) {
928 len = strlen(name);
932 res = __proc_info(5, getpid(), 2, (uint64_t)0, (void*)name, (int)len);
935 strlcpy(self->pthread_name, name, MAXTHREADNAMESIZE);
953 // The parent and child threads race to add the thread to the list.
957 // When called by the child:
963 // child got here first, don't add.
967 // If the child exits before we check in then it has to keep
1009 __pthread_remove_thread(pthread_t t, bool child, bool *should_exit)
1029 if (child) {
1605 // child side of a fork.