?? pthread_mutexattr_destroy.txt
字號:
pthread_mutexattr_destroy SubroutinePurposeDeletes a mutex attributes object.LibraryThreads Library (libpthreads.a)Syntax#include <pthread.h>int pthread_mutexattr_destroy (attr)pthread_mutexattr_t *attr;DescriptionThe pthread_mutexattr_destroy subroutine deletes the mutex attributesobject attr, reclaiming its storage space. It has no effect on themutexes previously created with that attributes object.Note: The pthread.h header file must be the first included file ofeach source file using the threads library.Parametersattr Specifies the mutex attributes object to delete.Return ValuesUpon successful completion, 0 is returned. Otherwise, an error codeis returned.Error CodesThe pthread_mutexattr_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_mutexattr_init subroutine, pthread_mutex_init subroutine.Using Mutexes.Threads Library Quick Reference.
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -