freebsd-dev/lib/libthr/thread
Konstantin Belousov 4627d47bc8 Add pthread_get_name_np(3).
The function retrieves the thread name previously set by
pthread_set_name_np(3). The name is cached in the process memory.

Requested by:	Willem Jan Withagen <wjw@digiware.nl>
Man page update:	Yuri Pankov <yuripv@yuripv.net>
Reviewed by:	ian (previous version)
Discussed with:	arichardson, bjk (man page)
Sponsored by:	The FreeBSD Foundation
MFC after:	2 weeks
Differential revision:	https://reviews.freebsd.org/D16702
2018-08-17 18:34:07 +00:00
..
Makefile.inc Implement process-shared locks support for libthr.so.3, without 2016-02-28 17:52:33 +00:00
thr_affinity.c lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
thr_attr.c spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
thr_autoinit.c spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
thr_barrier.c lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
thr_barrierattr.c lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
thr_cancel.c Ensure thread library is initialized in pthread_testcancel(). 2018-03-21 21:13:26 +00:00
thr_clean.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
thr_concurrency.c spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
thr_cond.c lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
thr_condattr.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
thr_create.c lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
thr_ctrdtr.c Merge all the copies of _tcb_ctor and _tcb_dtor. 2015-01-21 16:41:05 +00:00
thr_detach.c lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
thr_equal.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
thr_event.c lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
thr_exit.c Add pthread_get_name_np(3). 2018-08-17 18:34:07 +00:00
thr_fork.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
thr_getcpuclockid.c lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
thr_getprio.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
thr_getschedparam.c spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
thr_getthreadid_np.c lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
thr_info.c Add pthread_get_name_np(3). 2018-08-17 18:34:07 +00:00
thr_init.c spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
thr_join.c lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
thr_kern.c lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
thr_kill.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
thr_list.c lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
thr_main_np.c lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
thr_multi_np.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
thr_mutex.c spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
thr_mutexattr.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
thr_once.c lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
thr_printf.c libthr: Fix missing break in switch. 2018-01-27 22:27:55 +00:00
thr_private.h Add pthread_get_name_np(3). 2018-08-17 18:34:07 +00:00
thr_pshared.c Lock pshared_lock shared around fork, to ensure that the COW snapshot 2016-03-21 06:52:35 +00:00
thr_pspinlock.c lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
thr_resume_np.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
thr_rtld.c lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
thr_rwlock.c lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
thr_rwlockattr.c lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
thr_self.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
thr_sem.c lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
thr_setprio.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
thr_setschedparam.c spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
thr_sig.c lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
thr_single_np.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
thr_sleepq.c lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
thr_spec.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
thr_spinlock.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
thr_stack.c lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
thr_suspend_np.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
thr_switch_np.c spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
thr_symbols.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
thr_syscalls.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
thr_umtx.c lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
thr_umtx.h lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
thr_yield.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00