aboutsummaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/thr_set_name.2
Commit message (Collapse)AuthorAgeFilesLines
* libc: Fix most issues reported by mandocGordon Bergling2020-12-191-1/+1
| | | | | | | | | | | | | | - varios "new sentence, new line" warnings - varios "sections out of conventional order" warnings - varios "unusual Xr order" warnings - varios "missing section argument" warnings - varios "no blank before trailing delimiter" warnings - varios "normalizing date format" warnings MFC after: 1 month Notes: svn path=/head/; revision=368817
* Add HISTORY sections to document when thisBenedict Reuschling2020-05-051-1/+6
| | | | | | | | | | | functionality first appeared in FreeBSD. Submitted by: Gordon Bergling gbergling_gmail.com Approved by: bcr Differential Revision: https://reviews.freebsd.org/D24677 Notes: svn path=/head/; revision=360670
* thr_set_name(): silently truncate the given name as neededEric van Gyzen2016-12-031-14/+11
| | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=309460
* thr_*(2): Add xrefs to what libthr implements using each syscall.Jilles Tjoelker2016-06-011-1/+2
| | | | | | | | | | | | | | Add text to thr_exit(2) and thr_new(2) discouraging their use in applications since calling these in a process with libthr loaded will confuse libthr and is likely to cause hangs or crashes. The thr_kill2(2) call is not used by libthr and may be useful in special applications. The other calls can be used in applications but it should not be necessary. Notes: svn path=/head/; revision=301171
* _umtx_op(2),thr_*(2): Various spelling, grammar and mdoc fixes.Jilles Tjoelker2016-05-291-2/+2
| | | | Notes: svn path=/head/; revision=300957
* Document the non-obsoleted kernel interfaces used by libthr.Konstantin Belousov2016-05-141-0/+96
Reviewed by: emaste Sponsored by: The FreeBSD Foundation Differential revision: https://reviews.freebsd.org/D6335 Notes: svn path=/head/; revision=299735