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

📄 pthread_key_delete.txt

📁 Pthread lib库完整说明文档
💻 TXT
字号:
           --------------------------------------------------------------------------------AIX Version 4.3 Base Operating System and Extensions Technical Reference, Volume                                       1--------------------------------------------------------------------------------pthread_key_delete SubroutinePurposeDeletes a thread-specific data key.LibraryThreads Library (libpthreads.a)Syntax#include <pthread.h>int pthread_key_delete (pthread_key_t key);DescriptionThe pthread_key_delete subroutine deletes the thread-specific data key key,previously created with the pthread_key_create subroutine. The application mustensure that no thread-specific data is associated with the key. No destructorroutine is called.    Note: The pthread.h header file must be the first included file of each    source file using the threads library. Otherwise, the -D_THREAD_SAFE    compilation flag should be used, or the cc_r compiler used. In this case, the    flag is automatically set.Parameterskey Specifies the key to delete.Return ValuesIf successful, the pthread_key_delete function returns zero. Otherwise, an errornumber is returned to indicate the error.Error CodesThe pthread_key_delete function will fail if:EINVAL The key value is invalid.The pthread_key_delete function will not return an error code of EINTR.Implementation SpecificsThis subroutine is part of the Base Operating System (BOS) Runtime.Related InformationThe pthread_key_create subroutine, pthread.h file.Thread-Specific Data 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 + -