pthread_condattr_init.man

来自「linux 下的线程库源码」· MAN 代码 · 共 40 行

MAN
40
字号
.TH PTHREAD_CONDATTR 3 LinuxThreads.XREF pthread_condattr_destroy.SH NAMEpthread_condattr_init, pthread_condattr_destroy \- condition creation attributes.SH SYNOPSIS#include <pthread.h>int pthread_condattr_init(pthread_condattr_t *attr);int pthread_condattr_destroy(pthread_condattr_t *attr);.SH DESCRIPTIONCondition attributes can be specified at condition creation time, by passing acondition attribute object as second argument to !pthread_cond_init!(3).Passing !NULL! is equivalent to passing a condition attribute object withall attributes set to their default values.The LinuxThreads implementation supports no attributes forconditions. The functions on condition attributes are included onlyfor compliance with the POSIX standard.!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 donothing in the LinuxThreads implementation..SH "RETURN VALUE"!pthread_condattr_init! and !pthread_condattr_destroy! always return 0..SH AUTHORXavier Leroy <Xavier.Leroy@inria.fr>.SH "SEE ALSO"!pthread_cond_init!(3).

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?