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

📄 pthread_equal.txt

📁 Pthread lib库完整说明文档
💻 TXT
字号:
           --------------------------------------------------------------------------------AIX Version 4.3 Base Operating System and Extensions Technical Reference, Volume                                       1--------------------------------------------------------------------------------pthread_equal SubroutinePurposeCompares two thread IDs.LibraryThreads Library (libpthreads.a)Syntax#include <pthread.h>int pthread_equal (pthread_t t1, pthread_t t2);DescriptionThe pthread_equal subroutine compares the thread IDs thread1 and thread2. Sincethe thread IDs are opaque objects, it should not be assumed that they can becompared using the equality operator (==).    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.Parametersthread1 Specifies the first ID to be compared.thread2 Specifies the second ID to be compared.Return ValuesThe pthread_equal function returns a non-zero value if t1 and t2 are equal;otherwise, zero is returned.If either t1 or t2 are not valid thread IDs, the behaviour is undefined.Implementation SpecificsThis subroutine is part of the Base Operating System (BOS) Runtime.Related InformationThe pthread_self subroutine, the 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 + -