pthread.3 (98e0ffaefb0f241cda3a72395d3be04192ae0d47) pthread.3 (b6413b6db8756c1ecae5e575e6516f811966046f)
1.\" Copyright (c) 1996 John Birrell <jb@cimlogic.com.au>.
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 16 unchanged lines hidden (view full) ---

25.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
26.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
28.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29.\" SUCH DAMAGE.
30.\"
31.\" $FreeBSD$
32.\"
1.\" Copyright (c) 1996 John Birrell <jb@cimlogic.com.au>.
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 16 unchanged lines hidden (view full) ---

25.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
26.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
28.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29.\" SUCH DAMAGE.
30.\"
31.\" $FreeBSD$
32.\"
33.Dd August 12, 2014
33.Dd August 17, 2018
34.Dt PTHREAD 3
35.Os
36.Sh NAME
37.Nm pthread
38.Nd POSIX thread functions
39.Sh LIBRARY
40.Lb libpthread
41.Sh SYNOPSIS

--- 189 unchanged lines hidden (view full) ---

231.Bl -tag -width indent
232.It Xo
233.Ft int
234.Fn pthread_mutexattr_destroy "pthread_mutexattr_t *attr"
235.Xc
236Destroy a mutex attributes object.
237.It Xo
238.Ft int
34.Dt PTHREAD 3
35.Os
36.Sh NAME
37.Nm pthread
38.Nd POSIX thread functions
39.Sh LIBRARY
40.Lb libpthread
41.Sh SYNOPSIS

--- 189 unchanged lines hidden (view full) ---

231.Bl -tag -width indent
232.It Xo
233.Ft int
234.Fn pthread_mutexattr_destroy "pthread_mutexattr_t *attr"
235.Xc
236Destroy a mutex attributes object.
237.It Xo
238.Ft int
239.Fn pthread_mutexattr_getprioceiling "pthread_mutexattr_t *attr" "int *ceiling"
239.Fn pthread_mutexattr_getprioceiling "const pthread_mutexattr_t *restrict attr" "int *restrict ceiling"
240.Xc
241Obtain priority ceiling attribute of mutex attribute object.
242.It Xo
243.Ft int
240.Xc
241Obtain priority ceiling attribute of mutex attribute object.
242.It Xo
243.Ft int
244.Fn pthread_mutexattr_getprotocol "pthread_mutexattr_t *attr" "int *protocol"
244.Fn pthread_mutexattr_getprotocol "const pthread_mutexattr_t *restrict attr" "int *restrict protocol"
245.Xc
246Obtain protocol attribute of mutex attribute object.
247.It Xo
248.Ft int
245.Xc
246Obtain protocol attribute of mutex attribute object.
247.It Xo
248.Ft int
249.Fn pthread_mutexattr_gettype "pthread_mutexattr_t *attr" "int *type"
249.Fn pthread_mutexattr_gettype "const pthread_mutexattr_t *restrict attr" "int *restrict type"
250.Xc
251Obtain the mutex type attribute in the specified mutex attributes object.
252.It Xo
253.Ft int
254.Fn pthread_mutexattr_init "pthread_mutexattr_t *attr"
255.Xc
256Initialize a mutex attributes object with default values.
257.It Xo

--- 293 unchanged lines hidden ---
250.Xc
251Obtain the mutex type attribute in the specified mutex attributes object.
252.It Xo
253.Ft int
254.Fn pthread_mutexattr_init "pthread_mutexattr_t *attr"
255.Xc
256Initialize a mutex attributes object with default values.
257.It Xo

--- 293 unchanged lines hidden ---