PTHREAD...ETROBUST(3POSIX)

πŸ’– PTHREAD...ETROBUST(3POSIX) πŸ’–

okay bestie, welcome to the POSIX Programmer's Manual section, page PTHREAD...ETROBUST(3POSIX) β€” this is the vibe, pull up a chair πŸͺ‘


🌸 PROLOG 🌸

This manual page is part of the POSIX Programmer's Manual, periodt. But heads up, bestie 🚨 β€” the Linux implementation of this interface may differ, so go consult the corresponding Linux manual page for the deets on Linux behavior. And also? The interface might just straight up not be implemented on Linux at all. πŸ’€ So like, vibe check your platform first, fr fr.


✨ NAME ✨

pthread_mutexattr_setrobust β€” get and set the mutex robust attribute πŸ‘‘


πŸŽ€ SYNOPSIS πŸŽ€

#include <pthread.h>

int pthread_mutexattr_setrobust(pthread_mutexattr_t *attr,
    int robust);

look at that signature. she's iconic. πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so for the actual explanation, you're gonna wanna refer to pthread_mutexattr_getrobust(). That's the main character here β€” this one is literally just the sibling 🫢


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. And like, in the event of any discrepancy between this version and the original IEEE and The Open Group Standard β€” bestie, the original IEEE and The Open Group Standard is the referee document, no cap. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html .

Also πŸ™ˆ 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 β€” not the original authors' fault, okay? To report such errors, see https://www.kernel.org/doc/man-pages/reporting_bugs.html .


aaaand that's the whole page, we ate and left no crumbs πŸ“βœ¨ sending you off with the footer tea: this came from IEEE/The Open Group, 2017 πŸ’– mwah, go forth and lock your mutexes responsibly πŸ§šβ€β™€οΈπŸŒˆ