pthread_condattr_destroy.txt

来自「Pthread lib库完整说明文档」· 文本 代码 · 共 60 行

TXT
60
字号
pthread_condattr_destroy SubroutinePurposeDeletes a condition attributes object.LibraryThreads Library (libpthreads.a)Syntax#include <pthread.h>int pthread_condattr_destroy (attr)pthread_condattr_t *attr;DescriptionThe pthread_condattr_destroy subroutine deletes the condition attributesobject attr, reclaiming its storage space. It has no effect on thecondition variables previously created with that object.Note:	The pthread.h header file must be the first included file ofeach source file using the threads library.Parameterattr	Specifes the condition attributes object to delete.Return ValuesUpon successful completion, 0 is returned. Otherwise, an error codeis returned.Error CodeThe pthread_condattr_destroy subroutine is unsuccessful if the followingis true:EINVAL	The attr parameter is not valid.Implementation SpecificsThis subroutine is part of the Base Operating System (BOS) Runtime.Related InformationThe pthread_condattr_init subroutine, pthread_cond_init subroutine.Using Condition Variables.Threads Library Quick Reference.

⌨️ 快捷键说明

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