FreeBSD Bugzilla – Attachment 228224 Details for
Bug 197299
pthread_np manpage cleanup
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch multiple pthread man pages
pthread_np.3.patch (text/plain), 7.01 KB, created by
Felix Johnson
on 2021-09-28 05:41:33 UTC
(
hide
)
Description:
Patch multiple pthread man pages
Filename:
MIME Type:
Creator:
Felix Johnson
Created:
2021-09-28 05:41:33 UTC
Size:
7.01 KB
patch
obsolete
>diff --git a/share/man/man3/pthread.3 b/share/man/man3/pthread.3 >index 8a437b1cedb..eeb9390b9ae 100644 >--- a/share/man/man3/pthread.3 >+++ b/share/man/man3/pthread.3 >@@ -30,7 +30,7 @@ > .\" > .\" $FreeBSD$ > .\" >-.Dd August 17, 2018 >+.Dd September 27, 2021 > .Dt PTHREAD 3 > .Os > .Sh NAME >@@ -48,6 +48,10 @@ within a process. > Multithreading is used to improve the performance of a > program. > .Pp >+.Fx >+extensions to POSIX thread functions are documented in >+.Xr pthread_np 3 . >+.Pp > The POSIX thread functions are summarized in this section in the following > groups: > .Pp >@@ -478,7 +482,7 @@ functions and the thread functions. > Threaded applications are linked with this library. > .Sh SEE ALSO > .Xr libthr 3 , >-.Xr pthread_affinity_np 3 , >+.Xr pthread_np 3 , > .Xr pthread_atfork 3 , > .Xr pthread_attr 3 , > .Xr pthread_cancel 3 , >diff --git a/share/man/man3/pthread_affinity_np.3 b/share/man/man3/pthread_affinity_np.3 >index 24fef03ab4e..8733726a022 100644 >--- a/share/man/man3/pthread_affinity_np.3 >+++ b/share/man/man3/pthread_affinity_np.3 >@@ -124,7 +124,8 @@ operation. > .Xr cpuset_setid 2 , > .Xr pthread 3 , > .Xr pthread_attr_getaffinity_np 3 , >-.Xr pthread_attr_setaffinity_np 3 >+.Xr pthread_attr_setaffinity_np 3 , >+.Xr pthread_np 3 > .Sh STANDARDS > The > .Nm pthread_getaffinity_np >diff --git a/share/man/man3/pthread_attr_affinity_np.3 b/share/man/man3/pthread_attr_affinity_np.3 >index 4c400b9a17e..2788a60ff2f 100644 >--- a/share/man/man3/pthread_attr_affinity_np.3 >+++ b/share/man/man3/pthread_attr_affinity_np.3 >@@ -132,7 +132,8 @@ Insufficient memory exists to store the cpuset mask. > .Xr cpuset_getid 2 , > .Xr cpuset_setid 2 , > .Xr pthread_getaffinity_np 3 , >-.Xr pthread_setaffinity_np 3 >+.Xr pthread_setaffinity_np 3 , >+.Xr pthread_np 3 > .Sh STANDARDS > The > .Nm pthread_attr_getaffinity_np >diff --git a/share/man/man3/pthread_attr_get_np.3 b/share/man/man3/pthread_attr_get_np.3 >index a23cac6997c..67b3517fd72 100644 >--- a/share/man/man3/pthread_attr_get_np.3 >+++ b/share/man/man3/pthread_attr_get_np.3 >@@ -107,7 +107,8 @@ thread ID. > .Xr pthread_attr_getstack 3 , > .Xr pthread_attr_getstackaddr 3 , > .Xr pthread_attr_getstacksize 3 , >-.Xr pthread_attr_init 3 >+.Xr pthread_attr_init 3 , >+.Xr pthread_np 3 > .Sh AUTHORS > The > .Fn pthread_attr_get_np >diff --git a/share/man/man3/pthread_attr_setcreatesuspend_np.3 b/share/man/man3/pthread_attr_setcreatesuspend_np.3 >index 75408ccefc6..13a39f3d017 100644 >--- a/share/man/man3/pthread_attr_setcreatesuspend_np.3 >+++ b/share/man/man3/pthread_attr_setcreatesuspend_np.3 >@@ -65,6 +65,7 @@ is invalid. > .Xr pthread_attr_destroy 3 , > .Xr pthread_attr_init 3 , > .Xr pthread_create 3 , >+.Xr pthread_np 3 , > .Xr pthread_resume_all_np 3 , > .Xr pthread_resume_np 3 > .Sh AUTHORS >diff --git a/share/man/man3/pthread_getthreadid_np.3 b/share/man/man3/pthread_getthreadid_np.3 >index a912e7d42ef..ae7c991a302 100644 >--- a/share/man/man3/pthread_getthreadid_np.3 >+++ b/share/man/man3/pthread_getthreadid_np.3 >@@ -50,6 +50,7 @@ function returns the thread integral ID of the calling thread. > .Sh ERRORS > None. > .Sh SEE ALSO >+.Xr pthread_np 3 , > .Xr pthread_self 3 > .Sh AUTHORS > This manual page was written by >diff --git a/share/man/man3/pthread_main_np.3 b/share/man/man3/pthread_main_np.3 >index 81669b78609..7f807f0146a 100644 >--- a/share/man/man3/pthread_main_np.3 >+++ b/share/man/man3/pthread_main_np.3 >@@ -54,6 +54,7 @@ and \-1 if the thread's initialization has not yet completed. > .Sh SEE ALSO > .Xr pthread_create 3 , > .Xr pthread_equal 3 , >+.Xr pthread_np 3 , > .Xr pthread_self 3 > .Sh AUTHORS > This manual page was written by >diff --git a/share/man/man3/pthread_multi_np.3 b/share/man/man3/pthread_multi_np.3 >index c790d358ca3..d2bffc00bb2 100644 >--- a/share/man/man3/pthread_multi_np.3 >+++ b/share/man/man3/pthread_multi_np.3 >@@ -59,6 +59,7 @@ and > .Nm pthread_single_np > functions always return 0. > .Sh SEE ALSO >+.Xr pthread_np 3 , > .Xr pthread_resume_all_np 3 , > .Xr pthread_suspend_all_np 3 > .Sh AUTHORS >diff --git a/share/man/man3/pthread_mutexattr_getkind_np.3 b/share/man/man3/pthread_mutexattr_getkind_np.3 >index fe5435f90c3..f9674b75e01 100644 >--- a/share/man/man3/pthread_mutexattr_getkind_np.3 >+++ b/share/man/man3/pthread_mutexattr_getkind_np.3 >@@ -78,4 +78,5 @@ is invalid. > .Xr pthread_mutex_destroy 3 , > .Xr pthread_mutex_init 3 , > .Xr pthread_mutexattr_gettype 3 , >-.Xr pthread_mutexattr_settype 3 >+.Xr pthread_mutexattr_settype 3 , >+.Xr pthread_np 3 >diff --git a/share/man/man3/pthread_resume_all_np.3 b/share/man/man3/pthread_resume_all_np.3 >index 0ac6736a9b7..a4f99347bb3 100644 >--- a/share/man/man3/pthread_resume_all_np.3 >+++ b/share/man/man3/pthread_resume_all_np.3 >@@ -43,6 +43,7 @@ function causes all active threads to be scanned > and resumes those which were previously suspended. > .Sh SEE ALSO > .Xr pthread_attr_setcreatesuspend_np 3 , >+.Xr pthread_np 3 , > .Xr pthread_resume_np 3 , > .Xr pthread_suspend_all_np 3 , > .Xr pthread_suspend_np 3 >diff --git a/share/man/man3/pthread_resume_np.3 b/share/man/man3/pthread_resume_np.3 >index 898dbf9c0d1..e008ab1905c 100644 >--- a/share/man/man3/pthread_resume_np.3 >+++ b/share/man/man3/pthread_resume_np.3 >@@ -64,6 +64,7 @@ argument. > .El > .Sh SEE ALSO > .Xr pthread_attr_setcreatesuspend_np 3 , >+.Xr pthread_np 3 , > .Xr pthread_resume_all_np 3 , > .Xr pthread_suspend_all_np 3 , > .Xr pthread_suspend_np 3 >diff --git a/share/man/man3/pthread_set_name_np.3 b/share/man/man3/pthread_set_name_np.3 >index af668165d91..b1cf39899b4 100644 >--- a/share/man/man3/pthread_set_name_np.3 >+++ b/share/man/man3/pthread_set_name_np.3 >@@ -90,6 +90,7 @@ and > functions, all errors that may > appear inside are silently ignored. > .Sh SEE ALSO >+.Xr pthread_np 3 , > .Xr thr_set_name 2 > .Sh STANDARDS > .Fn pthread_set_name_np >diff --git a/share/man/man3/pthread_suspend_all_np.3 b/share/man/man3/pthread_suspend_all_np.3 >index ecedca3ee24..878116d2f51 100644 >--- a/share/man/man3/pthread_suspend_all_np.3 >+++ b/share/man/man3/pthread_suspend_all_np.3 >@@ -52,6 +52,7 @@ function to use any non-async signal safe functions, besides > until threads are resumed, unless measures are taken to ensure > that all threads are suspended at safe points. > .Sh SEE ALSO >+.Xr pthread_np 3 , > .Xr pthread_resume_all_np 3 , > .Xr pthread_resume_np 3 , > .Xr pthread_suspend_np 3 >diff --git a/share/man/man3/pthread_suspend_np.3 b/share/man/man3/pthread_suspend_np.3 >index ca8c72a38c5..55944c2ff22 100644 >--- a/share/man/man3/pthread_suspend_np.3 >+++ b/share/man/man3/pthread_suspend_np.3 >@@ -69,6 +69,7 @@ No thread could be found corresponding to the thread ID specified by the > argument. > .El > .Sh SEE ALSO >+.Xr pthread_np 3 , > .Xr pthread_resume_all_np 3 , > .Xr pthread_resume_np 3 , > .Xr pthread_suspend_all_np 3 >diff --git a/share/man/man3/pthread_switch_add_np.3 b/share/man/man3/pthread_switch_add_np.3 >index e3400e79033..27665051d95 100644 >--- a/share/man/man3/pthread_switch_add_np.3 >+++ b/share/man/man3/pthread_switch_add_np.3 >@@ -81,7 +81,8 @@ argument is different from the argument previously passed to the > function. > .El > .Sh SEE ALSO >-.Xr pthread_create 3 >+.Xr pthread_create 3 , >+.Xr pthread_np 3 > .Sh AUTHORS > This manual page was written by > .An Alexey Zelkin Aq Mt phantom@FreeBSD.org .
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
felix.the.red
:
maintainer-approval?
(
felix.the.red
)
Actions:
View
|
Diff
Attachments on
bug 197299
:
228157
| 228224 |
228225
|
228615