PTHREAD...HEDPARAM(3POSIX)

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

okay bestie, so this is a page from the POSIX Programmer's Manual, and I need you to clock something before we even start: the Linux implementation of this interface may differ from what's written here β€” like, consult the corresponding Linux manual page for the deets on Linux behavior β€” or honestly the interface might not even be implemented on Linux at all. so. vibe check on your platform first, fr fr 🫢


✨ PROLOG ✨

This manual page is part of the POSIX Programmer's Manual. That's the whole thing, that's the tea.

heads up babes: the Linux implementation of this interface may differ β€” consult the corresponding Linux manual page for details on Linux behavior β€” or the interface may not be implemented on Linux. no cap.

🌸 NAME 🌸

pthread_setschedparam β€” dynamic thread scheduling parameters access, and yes it's filed under (REALTIME THREADS) because she's fancy πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

like, the way you summon her:

#include <pthread.h>

int pthread_setschedparam(pthread_t thread, int policy,
    const struct sched_param *param);

three args, one job, iconic behavior honestly πŸ‘‘


πŸ¦‹ DESCRIPTION πŸ¦‹

Refer to pthread_getschedparam().

that's it. that's the description. she's short, she's mysterious, she's giving main character energy with a single line πŸ’€βœ¨ (ngl the full lore lives over in the pthread_getschedparam() page, so go read her too, iykyk)


okay so legally we gotta say all this and we're saying all of it, no skipping:

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 .

translation bestie: the original standard is the referee, this page is just the remix, and if the remix glitched, go tell the kernel docs people πŸ›πŸ’–

🌈 SEE ALSO 🌈

  • pthread_getschedparam() β€” the one the DESCRIPTION is literally pointing you at, go bestie go πŸƒβ€β™€οΈ

and that's the page, we ate and left no crumbs πŸ“πŸ’œ

sign-off time: this beauty came from IEEE/The Open Group, dated 2017 β€” yeah she's vintage but she still slays βœ¨πŸŽ€πŸ’