PTHREAD_C...SETPSHARED(3P)

✨ PTHREAD_C...SETPSHARED(3P) ✨

okay bestie, welcome to the POSIX Programmer's Manual πŸ’– β€” this one's a lil page about pthread_condattr_setpshared, and yes, the title is abbreviated with dots like that because the real name is a whole mouthful. We move. 🫢


🌸 PROLOG 🌸

Real talk: this manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (so pls consult the corresponding Linux manual page for the details on how Linux actually behaves), or β€” plot twist β€” the interface may not be implemented on Linux at all. 😭 Check before you ship, fr fr.


πŸ‘‘ NAME πŸ‘‘

pthread_condattr_setpshared β€” set the process-shared condition variable attribute


πŸŽ€ SYNOPSIS πŸŽ€

#include <pthread.h>

int pthread_condattr_setpshared(pthread_condattr_t *attr,
    int pshared);

πŸ’… DESCRIPTION πŸ’…

Not me being the shortest section ever but β€” refer to pthread_condattr_getpshared(). That's the whole assignment. Go read that one, bestie, it's got the lore. 🌈


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.

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. Periodt. 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 .


no cap, if you spot a typo in here it's probably a conversion oopsie, not a you problem πŸ¦‹

k bye, this page was served up by IEEE/The Open Group in 2017 β€” iconic behavior, truly the main character energy of standards bodies πŸ’œβœ¨

πŸ“¦ where this page comes from