📄 pthread_attr_destroy.txt
字号:
--------------------------------------------------------------------------------AIX Version 4.3 Base Operating System and Extensions Technical Reference, Volume 1--------------------------------------------------------------------------------pthread_attr_destroy SubroutinePurposeDeletes a thread attributes object.LibraryThreads Library (libpthreads.a)Syntax#include <pthread.h>int pthread_attr_destroy (attr)pthread_attr_t *attr;DescriptionThe pthread_attr_destroy subroutine destroys the thread attributes object attr,reclaiming its storage space. It has no effect on the threads previously createdwith that object.Parametersattr Specifies the thread attributes object to delete.Return ValuesUpon successful completion, 0 is returned. Otherwise, an error code is returned.Error CodesThe pthread_attr_destroy subroutine is unsuccessful if the following is true:EINVAL The attr parameter is not valid.This function will not return an error code of [EINTR].Implementation SpecificsThis subroutine is part of the Base Operating System (BOS) Runtime.Related InformationThe pthread_attr_init subroutine, pthread_create subroutine, the pthread.h file.Creating Threads in AIX Version 4.3 General Programming Concepts: Writing andDebugging Programs.Threads Library Quick Reference in AIX Version 4.3 General Programming Concepts:Writing and Debugging Programs.--------------------------------------------------------------------------------
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -