PTHREAD_B...ETPSHARED(3P)

πŸ¦‹ PTHREAD_B...ETPSHARED(3P) πŸ¦‹

okay bestie, welcome to the POSIX Programmer's Manual ✨ (yes that's the manual name, it's giving official πŸ’…). Today we're looking at pthread_barrierattr_setpshared and honestly? She's a short one. A lil baby page. But we're gonna treat her with the respect she deserves 🫢


🌸 PROLOG 🌸

bestie, real talk before we start: this manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ β€” so like, consult the corresponding Linux manual page for details on Linux behavior πŸ‘€. Or… the interface may not be implemented on Linux at all. no cap. check first, don't come for me 😭


✨ NAME ✨

pthread_barrierattr_setpshared β€” set the process-shared attribute of the barrier attributes object


πŸŽ€ SYNOPSIS πŸŽ€

#include <pthread.h>

int pthread_barrierattr_setpshared(pthread_barrierattr_t *attr,
    int pshared);

πŸ’œ DESCRIPTION πŸ’œ

okay so this is the iconic "go read the other one" move. Refer to pthread_barrierattr_getpshared(). that's it. that's the description. she's mysterious, she's lowkey minimal, she said "iykyk" and left πŸ’…


Portions of this text are reprinted and reproduced in electronic form from IEEE Std 1003.1-2017, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 7, 2018 Edition, Copyright (C) 2018 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group.

fr fr, in the event of any discrepancy between this version and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. the original is the main character, this is just the vibes. 🫢

The original Standard can be obtained online at http://www.opengroup.org/unix/online.html .

Any typographical or formatting errors that appear in this page are most likely to have been introduced during the conversion of the source files to man page format. To report such errors, see https://www.kernel.org/doc/man-pages/reporting_bugs.html .


and that's the whole page bestie, we ate and left no crumbs πŸ’– big love to IEEE/The Open Group, 2017 for the source and the date β€” couldn't have done it without you, periodt 🌈⭐

πŸ“¦ where this page comes from