View | Details | Raw Unified | Return to bug 197299 | Differences between
and this patch

Collapse All | Expand All

(-)b/share/man/man3/pthread.3 (-2 / +6 lines)
Lines 30-36 Link Here
30
.\"
30
.\"
31
.\" $FreeBSD$
31
.\" $FreeBSD$
32
.\"
32
.\"
33
.Dd August 17, 2018
33
.Dd September 27, 2021
34
.Dt PTHREAD 3
34
.Dt PTHREAD 3
35
.Os
35
.Os
36
.Sh NAME
36
.Sh NAME
Lines 48-53 within a process. Link Here
48
Multithreading is used to improve the performance of a
48
Multithreading is used to improve the performance of a
49
program.
49
program.
50
.Pp
50
.Pp
51
.Fx
52
extensions to POSIX thread functions are documented in
53
.Xr pthread_np 3 .
54
.Pp
51
The POSIX thread functions are summarized in this section in the following
55
The POSIX thread functions are summarized in this section in the following
52
groups:
56
groups:
53
.Pp
57
.Pp
Lines 478-484 functions and the thread functions. Link Here
478
Threaded applications are linked with this library.
482
Threaded applications are linked with this library.
479
.Sh SEE ALSO
483
.Sh SEE ALSO
480
.Xr libthr 3 ,
484
.Xr libthr 3 ,
481
.Xr pthread_affinity_np 3 ,
485
.Xr pthread_np 3 ,
482
.Xr pthread_atfork 3 ,
486
.Xr pthread_atfork 3 ,
483
.Xr pthread_attr 3 ,
487
.Xr pthread_attr 3 ,
484
.Xr pthread_cancel 3 ,
488
.Xr pthread_cancel 3 ,
(-)b/share/man/man3/pthread_affinity_np.3 (-1 / +2 lines)
Lines 124-130 operation. Link Here
124
.Xr cpuset_setid 2 ,
124
.Xr cpuset_setid 2 ,
125
.Xr pthread 3 ,
125
.Xr pthread 3 ,
126
.Xr pthread_attr_getaffinity_np 3 ,
126
.Xr pthread_attr_getaffinity_np 3 ,
127
.Xr pthread_attr_setaffinity_np 3
127
.Xr pthread_attr_setaffinity_np 3 ,
128
.Xr pthread_np 3
128
.Sh STANDARDS
129
.Sh STANDARDS
129
The
130
The
130
.Nm pthread_getaffinity_np
131
.Nm pthread_getaffinity_np
(-)b/share/man/man3/pthread_attr_affinity_np.3 (-1 / +2 lines)
Lines 132-138 Insufficient memory exists to store the cpuset mask. Link Here
132
.Xr cpuset_getid 2 ,
132
.Xr cpuset_getid 2 ,
133
.Xr cpuset_setid 2 ,
133
.Xr cpuset_setid 2 ,
134
.Xr pthread_getaffinity_np 3 ,
134
.Xr pthread_getaffinity_np 3 ,
135
.Xr pthread_setaffinity_np 3
135
.Xr pthread_setaffinity_np 3 ,
136
.Xr pthread_np 3
136
.Sh STANDARDS
137
.Sh STANDARDS
137
The
138
The
138
.Nm pthread_attr_getaffinity_np
139
.Nm pthread_attr_getaffinity_np
(-)b/share/man/man3/pthread_attr_get_np.3 (-1 / +2 lines)
Lines 107-113 thread ID. Link Here
107
.Xr pthread_attr_getstack 3 ,
107
.Xr pthread_attr_getstack 3 ,
108
.Xr pthread_attr_getstackaddr 3 ,
108
.Xr pthread_attr_getstackaddr 3 ,
109
.Xr pthread_attr_getstacksize 3 ,
109
.Xr pthread_attr_getstacksize 3 ,
110
.Xr pthread_attr_init 3
110
.Xr pthread_attr_init 3 ,
111
.Xr pthread_np 3
111
.Sh AUTHORS
112
.Sh AUTHORS
112
The
113
The
113
.Fn pthread_attr_get_np
114
.Fn pthread_attr_get_np
(-)b/share/man/man3/pthread_attr_setcreatesuspend_np.3 (+1 lines)
Lines 65-70 is invalid. Link Here
65
.Xr pthread_attr_destroy 3 ,
65
.Xr pthread_attr_destroy 3 ,
66
.Xr pthread_attr_init 3 ,
66
.Xr pthread_attr_init 3 ,
67
.Xr pthread_create 3 ,
67
.Xr pthread_create 3 ,
68
.Xr pthread_np 3 ,
68
.Xr pthread_resume_all_np 3 ,
69
.Xr pthread_resume_all_np 3 ,
69
.Xr pthread_resume_np 3
70
.Xr pthread_resume_np 3
70
.Sh AUTHORS
71
.Sh AUTHORS
(-)b/share/man/man3/pthread_getthreadid_np.3 (+1 lines)
Lines 50-55 function returns the thread integral ID of the calling thread. Link Here
50
.Sh ERRORS
50
.Sh ERRORS
51
None.
51
None.
52
.Sh SEE ALSO
52
.Sh SEE ALSO
53
.Xr pthread_np 3 ,
53
.Xr pthread_self 3
54
.Xr pthread_self 3
54
.Sh AUTHORS
55
.Sh AUTHORS
55
This manual page was written by
56
This manual page was written by
(-)b/share/man/man3/pthread_main_np.3 (+1 lines)
Lines 54-59 and \-1 if the thread's initialization has not yet completed. Link Here
54
.Sh SEE ALSO
54
.Sh SEE ALSO
55
.Xr pthread_create 3 ,
55
.Xr pthread_create 3 ,
56
.Xr pthread_equal 3 ,
56
.Xr pthread_equal 3 ,
57
.Xr pthread_np 3 ,
57
.Xr pthread_self 3
58
.Xr pthread_self 3
58
.Sh AUTHORS
59
.Sh AUTHORS
59
This manual page was written by
60
This manual page was written by
(-)b/share/man/man3/pthread_multi_np.3 (+1 lines)
Lines 59-64 and Link Here
59
.Nm pthread_single_np
59
.Nm pthread_single_np
60
functions always return 0.
60
functions always return 0.
61
.Sh SEE ALSO
61
.Sh SEE ALSO
62
.Xr pthread_np 3 ,
62
.Xr pthread_resume_all_np 3 ,
63
.Xr pthread_resume_all_np 3 ,
63
.Xr pthread_suspend_all_np 3
64
.Xr pthread_suspend_all_np 3
64
.Sh AUTHORS
65
.Sh AUTHORS
(-)b/share/man/man3/pthread_mutexattr_getkind_np.3 (-1 / +2 lines)
Lines 78-81 is invalid. Link Here
78
.Xr pthread_mutex_destroy 3 ,
78
.Xr pthread_mutex_destroy 3 ,
79
.Xr pthread_mutex_init 3 ,
79
.Xr pthread_mutex_init 3 ,
80
.Xr pthread_mutexattr_gettype 3 ,
80
.Xr pthread_mutexattr_gettype 3 ,
81
.Xr pthread_mutexattr_settype 3
81
.Xr pthread_mutexattr_settype 3 ,
82
.Xr pthread_np 3
(-)b/share/man/man3/pthread_resume_all_np.3 (+1 lines)
Lines 43-48 function causes all active threads to be scanned Link Here
43
and resumes those which were previously suspended.
43
and resumes those which were previously suspended.
44
.Sh SEE ALSO
44
.Sh SEE ALSO
45
.Xr pthread_attr_setcreatesuspend_np 3 ,
45
.Xr pthread_attr_setcreatesuspend_np 3 ,
46
.Xr pthread_np 3 ,
46
.Xr pthread_resume_np 3 ,
47
.Xr pthread_resume_np 3 ,
47
.Xr pthread_suspend_all_np 3 ,
48
.Xr pthread_suspend_all_np 3 ,
48
.Xr pthread_suspend_np 3
49
.Xr pthread_suspend_np 3
(-)b/share/man/man3/pthread_resume_np.3 (+1 lines)
Lines 64-69 argument. Link Here
64
.El
64
.El
65
.Sh SEE ALSO
65
.Sh SEE ALSO
66
.Xr pthread_attr_setcreatesuspend_np 3 ,
66
.Xr pthread_attr_setcreatesuspend_np 3 ,
67
.Xr pthread_np 3 ,
67
.Xr pthread_resume_all_np 3 ,
68
.Xr pthread_resume_all_np 3 ,
68
.Xr pthread_suspend_all_np 3 ,
69
.Xr pthread_suspend_all_np 3 ,
69
.Xr pthread_suspend_np 3
70
.Xr pthread_suspend_np 3
(-)b/share/man/man3/pthread_set_name_np.3 (+1 lines)
Lines 90-95 and Link Here
90
functions, all errors that may
90
functions, all errors that may
91
appear inside are silently ignored.
91
appear inside are silently ignored.
92
.Sh SEE ALSO
92
.Sh SEE ALSO
93
.Xr pthread_np 3 ,
93
.Xr thr_set_name 2
94
.Xr thr_set_name 2
94
.Sh STANDARDS
95
.Sh STANDARDS
95
.Fn pthread_set_name_np
96
.Fn pthread_set_name_np
(-)b/share/man/man3/pthread_suspend_all_np.3 (+1 lines)
Lines 52-57 function to use any non-async signal safe functions, besides Link Here
52
until threads are resumed, unless measures are taken to ensure
52
until threads are resumed, unless measures are taken to ensure
53
that all threads are suspended at safe points.
53
that all threads are suspended at safe points.
54
.Sh SEE ALSO
54
.Sh SEE ALSO
55
.Xr pthread_np 3 ,
55
.Xr pthread_resume_all_np 3 ,
56
.Xr pthread_resume_all_np 3 ,
56
.Xr pthread_resume_np 3 ,
57
.Xr pthread_resume_np 3 ,
57
.Xr pthread_suspend_np 3
58
.Xr pthread_suspend_np 3
(-)b/share/man/man3/pthread_suspend_np.3 (+1 lines)
Lines 69-74 No thread could be found corresponding to the thread ID specified by the Link Here
69
argument.
69
argument.
70
.El
70
.El
71
.Sh SEE ALSO
71
.Sh SEE ALSO
72
.Xr pthread_np 3 ,
72
.Xr pthread_resume_all_np 3 ,
73
.Xr pthread_resume_all_np 3 ,
73
.Xr pthread_resume_np 3 ,
74
.Xr pthread_resume_np 3 ,
74
.Xr pthread_suspend_all_np 3
75
.Xr pthread_suspend_all_np 3
(-)b/share/man/man3/pthread_switch_add_np.3 (-1 / +2 lines)
Lines 81-87 argument is different from the argument previously passed to the Link Here
81
function.
81
function.
82
.El
82
.El
83
.Sh SEE ALSO
83
.Sh SEE ALSO
84
.Xr pthread_create 3
84
.Xr pthread_create 3 ,
85
.Xr pthread_np 3
85
.Sh AUTHORS
86
.Sh AUTHORS
86
This manual page was written by
87
This manual page was written by
87
.An Alexey Zelkin Aq Mt phantom@FreeBSD.org .
88
.An Alexey Zelkin Aq Mt phantom@FreeBSD.org .

Return to bug 197299