*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: pthread_barrierattr_getpshared | Section: 3 | Source: OpenBSD | File: pthread_barrierattr_getpshared.3
PTHREAD_BARRIERATTR_GETPSHARED(3) FreeBSD Library Functions Manual NAME pthread_barrierattr_getpshared, pthread_barrierattr_setpshared - get or set the process-shared attribute of the barrier attribute's object SYNOPSIS #include <pthread.h> int pthread_barrierattr_getpshared(pthread_barrierattr_t *attr, int *pshared); int pthread_barrierattr_setpshared(pthread_barrierattr_t *attr, int pshared); DESCRIPTION The pthread_barrierattr_getpshared() function writes in pshared the current process-shared attribute value. The pthread_barrierattr_setpshared() function sets the process-shared attribute as indicated in pshared. RETURN VALUES If successful, pthread_barrierattr_getpshared() and pthread_barrierattr_setpshared() will return zero, otherwise an error number will be returned to indicate the error. ERRORS pthread_barrierattr_getpshared() will fail if: [EINVAL] The value specified by attr is invalid. pthread_barrierattr_setpshared() will fail if: [EINVAL] The value specified by attr is invalid. [ENOTSUP] The value specified by pshared is not PTHREAD_PROCESS_PRIVATE. SEE ALSO pthread_barrier_init(3), pthread_barrier_wait(3), pthread_barrierattr_init(3) STANDARDS pthread_barrierattr_getpshared() and pthread_barrierattr_setpshared() conform to IEEE Std 1003.1-2008 ("POSIX.1"). BUGS Currently only private barriers are supported and the pshared attribute is always set that way. Any attempts to change that value will trigger ENOTSUP. FreeBSD 14.1-RELEASE-p8 February 22, 2023 FreeBSD 14.1-RELEASE-p8

Navigation Options