Eric van Gyzen
ff07dd913e
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
..
2014-03-14 03:07:51 +00:00
2014-12-26 21:11:33 +00:00
2016-05-23 20:29:18 +00:00
2014-03-14 03:07:51 +00:00
2014-03-14 03:07:51 +00:00
2014-03-14 03:07:51 +00:00
2014-12-26 22:41:10 +00:00
2016-09-08 21:20:01 +00:00
2015-06-13 19:20:56 +00:00
2014-07-29 19:41:00 +00:00
2014-06-23 08:27:27 +00:00
2014-06-23 08:27:27 +00:00
2016-06-03 14:30:32 +00:00
2016-05-31 21:09:42 +00:00
2014-06-23 08:27:27 +00:00
2014-12-26 22:41:10 +00:00
2016-05-29 18:25:11 +00:00
2016-05-31 21:16:34 +00:00
2014-06-23 08:27:27 +00:00
2014-10-27 15:45:37 +00:00
2014-10-25 19:31:34 +00:00
2014-12-26 22:41:10 +00:00
2016-05-17 09:56:22 +00:00
2016-05-31 21:16:34 +00:00
2016-06-03 14:30:32 +00:00
2014-03-16 01:17:09 +00:00
2016-08-04 11:38:53 +00:00
2015-05-19 02:24:55 +00:00
2014-06-23 08:27:27 +00:00
2014-06-23 08:27:27 +00:00
2014-06-23 08:27:27 +00:00
2016-05-17 09:56:22 +00:00
2014-12-26 22:41:10 +00:00
2016-05-17 09:56:22 +00:00
2016-05-17 09:56:22 +00:00
2016-05-17 09:56:22 +00:00
2016-05-17 09:56:22 +00:00
2014-12-26 22:41:10 +00:00
2016-05-17 09:56:22 +00:00
2014-06-23 08:27:27 +00:00
2016-05-31 21:09:42 +00:00
2016-05-31 21:16:34 +00:00
2014-12-26 22:41:10 +00:00
2014-12-26 22:41:10 +00:00
2016-05-31 21:16:34 +00:00
2016-12-03 01:14:21 +00:00
2015-05-28 16:18:41 +00:00
2016-05-31 21:16:34 +00:00
2016-05-05 10:22:19 +00:00
2016-05-31 21:09:42 +00:00
2014-06-23 08:27:27 +00:00
2016-08-16 08:27:03 +00:00
2014-12-26 22:41:10 +00:00
2016-09-08 21:20:01 +00:00
2016-07-15 15:12:56 +00:00
2016-07-14 23:35:55 +00:00
2014-03-14 03:07:51 +00:00
2015-01-06 23:04:41 +00:00
2016-06-08 09:36:07 +00:00