PTHREAD...CEILING(3POSIX)

πŸ’… PTHREAD...CEILING πŸ’…

okay bestie, so this one lives in the POSIX Programmer's Manual β€” that's the manual name, iconic, we love her β€” and it's page PTHREAD...CEILING(3POSIX) if you're looking her up.


✨ PROLOG ✨

okay so real talk first, no cap: this manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ β€” so if you're on Linux, go check the corresponding Linux manual page for the deets on Linux behavior. OR the interface might not even be implemented on Linux at all. 😭 vibe check: read your own system's docs, periodt.


πŸŽ€ NAME πŸŽ€

pthread_mutex_setprioceiling β€” change the priority ceiling of a mutex

and yes, she's tagged (REALTIME THREADS), iykyk πŸ¦‹


🌸 SYNOPSIS 🌸

#include <pthread.h>

int pthread_mutex_setprioceiling(pthread_mutex_t *restrict mutex,
    int prioceiling, int *restrict old_ceiling);

like… look at her. three arguments, restrict twice, she's serving ✨


🫢 DESCRIPTION 🫢

Bestie, this page is a redirect β€” it just says:

Refer to pthread_mutex_getprioceiling().

that's it. that's the whole description. she's pointing you at her sister function. go read that one, the lore is there πŸ’–


okay so legally I have to say this and I'm gonna say it with my whole chest:

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. 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 fr, if something looks cursed in here it's probably a formatting glitch from the conversion, not the actual standard. the standard is the referee, she said what she said πŸ’…

mwah, that's the whole page bestie 🫢 this one was brought to you by <strong>IEEE/The Open Group</strong>, dated <strong>2017</strong>, page <code>PTHREAD...CEILING(3POSIX)</code>. go get your priority ceilings sorted, you absolute main character πŸ‘‘βœ¨πŸ’–