pthread_mutexattr.3 (2a339d9e3dc129f0b0b79c2cb8d2bb0386fb0f5f) pthread_mutexattr.3 (b6413b6db8756c1ecae5e575e6516f811966046f)
1.\" Copyright (C) 2000 Jason Evans <jasone@FreeBSD.org>.
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(s), this list of conditions and the following disclaimer as

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

21.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
22.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
23.\" BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
24.\" WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
25.\" OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
26.\" EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27.\"
28.\" $FreeBSD$
1.\" Copyright (C) 2000 Jason Evans <jasone@FreeBSD.org>.
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(s), this list of conditions and the following disclaimer as

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

21.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
22.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
23.\" BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
24.\" WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
25.\" OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
26.\" EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27.\"
28.\" $FreeBSD$
29.Dd April 29, 2016
29.Dd August 17, 2018
30.Dt PTHREAD_MUTEXATTR 3
31.Os
32.Sh NAME
33.Nm pthread_mutexattr_init ,
34.Nm pthread_mutexattr_destroy ,
35.Nm pthread_mutexattr_setprioceiling ,
36.Nm pthread_mutexattr_getprioceiling ,
37.Nm pthread_mutexattr_setprotocol ,

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

47.In pthread.h
48.Ft int
49.Fn pthread_mutexattr_init "pthread_mutexattr_t *attr"
50.Ft int
51.Fn pthread_mutexattr_destroy "pthread_mutexattr_t *attr"
52.Ft int
53.Fn pthread_mutexattr_setprioceiling "pthread_mutexattr_t *attr" "int prioceiling"
54.Ft int
30.Dt PTHREAD_MUTEXATTR 3
31.Os
32.Sh NAME
33.Nm pthread_mutexattr_init ,
34.Nm pthread_mutexattr_destroy ,
35.Nm pthread_mutexattr_setprioceiling ,
36.Nm pthread_mutexattr_getprioceiling ,
37.Nm pthread_mutexattr_setprotocol ,

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

47.In pthread.h
48.Ft int
49.Fn pthread_mutexattr_init "pthread_mutexattr_t *attr"
50.Ft int
51.Fn pthread_mutexattr_destroy "pthread_mutexattr_t *attr"
52.Ft int
53.Fn pthread_mutexattr_setprioceiling "pthread_mutexattr_t *attr" "int prioceiling"
54.Ft int
55.Fn pthread_mutexattr_getprioceiling "pthread_mutexattr_t *attr" "int *prioceiling"
55.Fn pthread_mutexattr_getprioceiling "const pthread_mutexattr_t *attr" "int *prioceiling"
56.Ft int
57.Fn pthread_mutexattr_setprotocol "pthread_mutexattr_t *attr" "int protocol"
58.Ft int
56.Ft int
57.Fn pthread_mutexattr_setprotocol "pthread_mutexattr_t *attr" "int protocol"
58.Ft int
59.Fn pthread_mutexattr_getprotocol "pthread_mutexattr_t *attr" "int *protocol"
59.Fn pthread_mutexattr_getprotocol "const pthread_mutexattr_t *restrict attr" "int *restrict protocol"
60.Ft int
61.Fn pthread_mutexattr_setrobust "pthread_mutexattr_t *attr" "int robust"
62.Ft int
63.Fn pthread_mutexattr_getrobust "pthread_mutexattr_t *attr" "int *robust"
64.Ft int
65.Fn pthread_mutexattr_settype "pthread_mutexattr_t *attr" "int type"
66.Ft int
60.Ft int
61.Fn pthread_mutexattr_setrobust "pthread_mutexattr_t *attr" "int robust"
62.Ft int
63.Fn pthread_mutexattr_getrobust "pthread_mutexattr_t *attr" "int *robust"
64.Ft int
65.Fn pthread_mutexattr_settype "pthread_mutexattr_t *attr" "int type"
66.Ft int
67.Fn pthread_mutexattr_gettype "pthread_mutexattr_t *attr" "int *type"
67.Fn pthread_mutexattr_gettype "const pthread_mutexattr_t *restrict attr" "int *restrict type"
68.Sh DESCRIPTION
69Mutex attributes are used to specify parameters to
70.Fn pthread_mutex_init .
71One attribute object can be used in multiple calls to
72.Fn pthread_mutex_init ,
73with or without modifications between calls.
74.Pp
75The

--- 144 unchanged lines hidden ---
68.Sh DESCRIPTION
69Mutex attributes are used to specify parameters to
70.Fn pthread_mutex_init .
71One attribute object can be used in multiple calls to
72.Fn pthread_mutex_init ,
73with or without modifications between calls.
74.Pp
75The

--- 144 unchanged lines hidden ---