_pthread_attr_get_np() - attr = pthread->attr; - memcpy(&dst->pthread_attr_start_copy, ... _pthread_attr_init() - memcpy(pattr, &_pthread_attr_default, ... _pthread_attr_setaffinity_np() - attr->cpuset = NULL; attr->cpusetsize = 0; _pthread_create() - several places (struct copies, memset) thread_start() - set = curthread->sigmask; init_main_thread() - thread->attr = _pthread_attr_default; join_common() - TIMESPEC_SUB(&ts2, abstime, &ts); mutex_init() - pmutex->m_owner = NULL (and following) _mutex_cv_detach() - DEQUEUE_MUTEX(curthread, mp); mutex_self_lock() - TIMESPEC_SUB(&ts2, abstime, &ts1); mutex_unlock_common() - DEQUEUE_MUTEX(curthread, m); _thread_printf() - va_start() _thr_rtld_lock_destroy() - the for loop thr_sig.c - many struct copies, memcpy __thr_fcntl() __thr_openat() - va_start() __thr_umutex_timedlock() - timeout._timeout = *abstime; _thr_umtx_timedwait_uint() - timeout._timeout = *abstime; _thr_ucond_init() - bzero(cv, sizeof(struct ucond)); __thr_rwlock_rdlock() __thr_rwlock_wrlock() - timeout._timeout = *tsp; _thr_umutex_init() _thr_urwlock_init() - *mtx = default_foo;