pthread_barrierattr.3 (631e4e3abeab9e3586a0a4d6cd21e8e6c8025fd8) pthread_barrierattr.3 (b6413b6db8756c1ecae5e575e6516f811966046f)
1.\" Copyright (c) 2004 Michael Telahun Makonnen
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.

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

19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23.\" SUCH DAMAGE.
24.\"
25.\" $FreeBSD$
26.\"
1.\" Copyright (c) 2004 Michael Telahun Makonnen
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.

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

19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23.\" SUCH DAMAGE.
24.\"
25.\" $FreeBSD$
26.\"
27.Dd May 31, 2016
27.Dd August 17, 2018
28.Dt PTHREAD_BARRIERATTR 3
29.Os
30.Sh NAME
31.Nm pthread_barrierattr_destroy , pthread_barrierattr_getpshared ,
32.Nm pthread_barrierattr_init , pthread_barrierattr_setpshared
33.Nd "manipulate a barrier attribute object"
34.Sh LIBRARY
35.Lb libpthread
36.Sh SYNOPSIS
37.In pthread.h
38.Ft int
39.Fn pthread_barrierattr_destroy "pthread_barrierattr_t *attr"
40.Ft int
28.Dt PTHREAD_BARRIERATTR 3
29.Os
30.Sh NAME
31.Nm pthread_barrierattr_destroy , pthread_barrierattr_getpshared ,
32.Nm pthread_barrierattr_init , pthread_barrierattr_setpshared
33.Nd "manipulate a barrier attribute object"
34.Sh LIBRARY
35.Lb libpthread
36.Sh SYNOPSIS
37.In pthread.h
38.Ft int
39.Fn pthread_barrierattr_destroy "pthread_barrierattr_t *attr"
40.Ft int
41.Fn pthread_barrierattr_getpshared "const pthread_barrierattr_t *attr" "int *pshared"
41.Fn pthread_barrierattr_getpshared "const pthread_barrierattr_t *restrict attr" "int *restrict pshared"
42.Ft int
43.Fn pthread_barrierattr_init "pthread_barrierattr_t *attr"
44.Ft int
45.Fn pthread_barrierattr_setpshared "pthread_barrierattr_t *attr" "int pshared"
46.Sh DESCRIPTION
47The
48.Fn pthread_barrierattr_init
49function will initialize

--- 86 unchanged lines hidden ---
42.Ft int
43.Fn pthread_barrierattr_init "pthread_barrierattr_t *attr"
44.Ft int
45.Fn pthread_barrierattr_setpshared "pthread_barrierattr_t *attr" "int pshared"
46.Sh DESCRIPTION
47The
48.Fn pthread_barrierattr_init
49function will initialize

--- 86 unchanged lines hidden ---