Query: pthread_equal
OS: opensolaris
Section: 3c
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
pthread_equal(3C) Standard C Library Functions pthread_equal(3C)NAMEpthread_equal - compare thread IDsSYNOPSIScc -mt [ flag... ] file... -lpthread [ library... ] #include <pthread.h> int pthread_equal(pthread_t t1, pthread_t t2);DESCRIPTIONThe pthread_equal() function compares the thread IDs t1 and t2.RETURN VALUESThe pthread_equal() function returns a non-zero value if t1 and t2 are equal. Otherwise, 0 is returned. If t1 or t2 is an invalid thread ID, the behavior is undefined.ERRORSNo errors are defined.ATTRIBUTESSee attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Standard | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+SEE ALSOpthread_create(3C), pthread_self(3C), attributes(5), standards(5)NOTESSolaris thread IDs do not require an equivalent function because the thread_t structure is an unsigned int. SunOS 5.11 23 Mar 2005 pthread_equal(3C)
Related Man Pages |
---|
pthread_equal(3c) - opensolaris |
pthread_self(3c) - opensolaris |
pthread_equal(3c) - sunos |
pthread_equal(3) - minix |
pthread_equal(3) - bsd |
Similar Topics in the Unix Linux Community |
---|
List of Thread IDs of a process |
[c] is -lpthread correct option? |
pthread_create |
Difference between handle to the thread HANDLE and thread identifier pthread_t |
Need command |