⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pthread_mutex_destroy.txt

📁 Pthread lib库完整说明文档
💻 TXT
字号:
pthread_mutex_destroy SubroutinePurposeDeletes a mutex.LibraryThreads Library (libpthreads.a)Syntax#include <pthread.h>int pthread_mutex_destroy (mutex)pthread_mutex_t *mutex;DescriptionThe pthread_mutex_destroy subroutine deletes the mutex mutex. Afterdeletion of the mutex, the mutex parameter is not valid until it isinitialized again by a call to the pthread_mutex_init subroutine.Note:	The pthread.h header file must be the first included file ofeach source file using the threads library.Parametermutex	Specifies the mutex to delete.Return ValuesUpon successful completion, 0 is returned. Otherwise, an error codeis returned.Error CodesThe pthread_mutex_destroy subroutine is unsuccessful if the followingis true:EBUSY	The mutex mutex is locked or referenced by another thread.EINVAL	The mutex parameter is not valid.Implementation SpecificsThis subroutine is part of the Base Operating System (BOS) Runtime.Related InformationThe pthread_mutex_init subroutine.Using Mutexes.Threads Library Quick Reference.

⌨️ 快捷键说明

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