| pthread_condattr_init(3) | Library Functions Manual | pthread_condattr_init(3) |
NOM
pthread_condattr_init, pthread_condattr_destroy - Attributs de création de conditions
SYNOPSIS
#include <pthread.h>
int pthread_condattr_init(pthread_condattr_t *attr); int pthread_condattr_destroy(pthread_condattr_t *attr);
DESCRIPTION
Condition attributes can be specified at condition creation time, by passing a condition attribute object as second argument to pthread_cond_init(3). Passing NULL is equivalent to passing a condition attribute object with all attributes set to their default values.
L'implémentation LinuxThreads ne prend en charge aucun attribut pour les conditions. Les fonctions relatives aux attributs de condition ne sont présentes que pour respecter les spécifications POSIX.
pthread_condattr_init() initializes the condition attribute object attr and fills it with default values for the attributes. pthread_condattr_destroy() destroys a condition attribute object, which must not be reused until it is reinitialized. Both functions do nothing in the LinuxThreads implementation.
VALEUR RENVOYÉE
pthread_condattr_init() and pthread_condattr_destroy() always return 0.
VOIR AUSSI
TRADUCTION
La traduction française de cette page de manuel a été créée par Gérard Delafond <gerard@delafond.org>, Christophe Blaess <ccb@club-internet.fr>, Thierry Vignaud <tvignaud@mandriva.com>, Alain Portal <aportal@univ-montp2.fr>, Denis Barbier <barbier@debian.org>, Nicolas François <nicolas.francois@centraliens.net>, Florentin Duneau <fduneau@gmail.com>, Thomas Blein <tblein@tblein.eu> et David Prévot <david@tilapin.org>
Cette traduction est une documentation libre ; veuillez vous reporter à la GNU General Public License version 3 concernant les conditions de copie et de distribution. Il n'y a aucune RESPONSABILITÉ LÉGALE.
Si vous découvrez un bogue dans la traduction de cette page de manuel, veuillez envoyer un message à debian-l10n-french@lists.debian.org.
| 17 mai 2025 | Pages du manuel de Linux 6.15 |