freebsd-skq/share/man/man3
vangyzen abbf63d36b thr_set_name(): silently truncate the given name as needed
Instead of failing with ENAMETOOLONG, which is swallowed by
pthread_set_name_np() anyway, truncate the given name to MAXCOMLEN+1
bytes.  This is more likely what the user wants, and saves the
caller from truncating it before the call (which was the only
recourse).

Polish pthread_set_name_np(3) and add a .Xr to thr_set_name(2)
so the user might find the documentation for this behavior.

Reviewed by:	jilles
MFC after:	3 days
Sponsored by:	Dell EMC
2016-12-03 01:14:21 +00:00
..
assert.3
ATOMIC_VAR_INIT.3
bitstring.3 Add bit_count to the bitstring(3) api 2016-05-23 20:29:18 +00:00
end.3
fpgetround.3
intro.3
makedev.3
Makefile queue(3): Enhance queue debugging macros 2016-09-08 21:20:01 +00:00
Makefile.depend Add META_MODE support. 2015-06-13 19:20:56 +00:00
offsetof.3
pthread_affinity_np.3
pthread_atfork.3
pthread_attr_affinity_np.3 Improve errno documentation in pthread_create(3) and thr_new(2) 2016-06-03 14:30:32 +00:00
pthread_attr_get_np.3 Fix typo ESRC -> ESRCH in pthread man pages. 2016-05-31 21:09:42 +00:00
pthread_attr_setcreatesuspend_np.3
pthread_attr.3
pthread_barrier_destroy.3 Remove non-history libkse references and fix PTHREAD_PROCESSES_PRIVATE typo. 2016-05-29 18:25:11 +00:00
pthread_barrierattr.3 Remove mentions that PTHREAD_PROCESS_SHARED is not supported from man pages. 2016-05-31 21:16:34 +00:00
pthread_cancel.3
pthread_cleanup_pop.3
pthread_cleanup_push.3
pthread_cond_broadcast.3
pthread_cond_destroy.3
pthread_cond_init.3
pthread_cond_signal.3
pthread_cond_timedwait.3
pthread_cond_wait.3 Add implementation of robust mutexes, hopefully close enough to the 2016-05-17 09:56:22 +00:00
pthread_condattr.3 Remove mentions that PTHREAD_PROCESS_SHARED is not supported from man pages. 2016-05-31 21:16:34 +00:00
pthread_create.3 Improve errno documentation in pthread_create(3) and thr_new(2) 2016-06-03 14:30:32 +00:00
pthread_detach.3
pthread_equal.3
pthread_exit.3
pthread_getconcurrency.3
pthread_getcpuclockid.3 Grammar fixes. 2016-08-04 11:38:53 +00:00
pthread_getspecific.3
pthread_getthreadid_np.3
pthread_join.3
pthread_key_create.3
pthread_key_delete.3
pthread_kill.3
pthread_main_np.3
pthread_multi_np.3
pthread_mutex_consistent.3 Add implementation of robust mutexes, hopefully close enough to the 2016-05-17 09:56:22 +00:00
pthread_mutex_destroy.3
pthread_mutex_init.3
pthread_mutex_lock.3 Add implementation of robust mutexes, hopefully close enough to the 2016-05-17 09:56:22 +00:00
pthread_mutex_timedlock.3 Add implementation of robust mutexes, hopefully close enough to the 2016-05-17 09:56:22 +00:00
pthread_mutex_trylock.3 Add implementation of robust mutexes, hopefully close enough to the 2016-05-17 09:56:22 +00:00
pthread_mutex_unlock.3 Add implementation of robust mutexes, hopefully close enough to the 2016-05-17 09:56:22 +00:00
pthread_mutexattr_getkind_np.3
pthread_mutexattr.3 Add implementation of robust mutexes, hopefully close enough to the 2016-05-17 09:56:22 +00:00
pthread_once.3
pthread_resume_all_np.3
pthread_resume_np.3 Fix typo ESRC -> ESRCH in pthread man pages. 2016-05-31 21:09:42 +00:00
pthread_rwlock_destroy.3
pthread_rwlock_init.3 Remove mentions that PTHREAD_PROCESS_SHARED is not supported from man pages. 2016-05-31 21:16:34 +00:00
pthread_rwlock_rdlock.3
pthread_rwlock_timedrdlock.3
pthread_rwlock_timedwrlock.3
pthread_rwlock_unlock.3
pthread_rwlock_wrlock.3
pthread_rwlockattr_destroy.3
pthread_rwlockattr_getpshared.3
pthread_rwlockattr_init.3
pthread_rwlockattr_setpshared.3 Remove mentions that PTHREAD_PROCESS_SHARED is not supported from man pages. 2016-05-31 21:16:34 +00:00
pthread_schedparam.3
pthread_self.3
pthread_set_name_np.3 thr_set_name(): silently truncate the given name as needed 2016-12-03 01:14:21 +00:00
pthread_setspecific.3 Provide an unambiguous description of the potential hazard in calling 2015-05-28 16:18:41 +00:00
pthread_sigmask.3
pthread_spin_init.3 Remove mentions that PTHREAD_PROCESS_SHARED is not supported from man pages. 2016-05-31 21:16:34 +00:00
pthread_spin_lock.3
pthread_suspend_all_np.3 Warn about consequences of suspending threads in arbitrary state of 2016-05-05 10:22:19 +00:00
pthread_suspend_np.3 Fix typo ESRC -> ESRCH in pthread man pages. 2016-05-31 21:09:42 +00:00
pthread_switch_add_np.3
pthread_testcancel.3 The fdatasync(2) call must be cancellation point. 2016-08-16 08:27:03 +00:00
pthread_yield.3
pthread.3
queue.3 queue(3): Enhance queue debugging macros 2016-09-08 21:20:01 +00:00
sigevent.3 Add documentation for the sigevent structure. 2016-07-15 15:12:56 +00:00
siginfo.3 Fix rendering issues. 2016-07-14 23:35:55 +00:00
stdarg.3
sysexits.3
tgmath.3
timeradd.3
tree.3 Last few instances of "sentence not on new line". 2016-06-08 09:36:07 +00:00