*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->FreeBSD man pages -> pthread_equal (3)              
Title
Content
Arch
Section
 

PTHREAD_EQUAL(3)

Contents


NAME    [Toc]    [Back]

     pthread_equal -- compare thread IDs

LIBRARY    [Toc]    [Back]

     Reentrant C Library (libc_r, -lc_r)

SYNOPSIS    [Toc]    [Back]

     #include <pthread.h>

     int
     pthread_equal(pthread_t t1, pthread_t t2);

DESCRIPTION    [Toc]    [Back]

     The pthread_equal() function compares the thread IDs t1 and t2.

RETURN VALUES    [Toc]    [Back]

     The pthread_equal() function will return non-zero if the thread IDs t1
     and t2 correspond to the same thread, otherwise it will return zero.

ERRORS    [Toc]    [Back]

     None.

SEE ALSO    [Toc]    [Back]

      
      
     pthread_create(3), pthread_exit(3)

STANDARDS    [Toc]    [Back]

     The pthread_equal() function conforms to ISO/IEC 9945-1:1996
     (``POSIX.1'').


FreeBSD 5.2.1			 April 4, 1996			 FreeBSD 5.2.1
[ Back ]
 Similar pages
Name OS Title
pthread_equal IRIX compare thread identifiers
pthread_setspecific Tru64 Sets the thread-specific data value associated with the specified key for the current thread
pthread_cancel Tru64 Allows a thread to request a thread to terminate execution
pthread_join Tru64 Causes the calling thread to wait for the termination of the specified thread
pthread_getname_np Tru64 Obtain the object name from the thread object of an existing thread
strcmp OpenBSD compare strings
strcmp NetBSD compare strings
strcmp FreeBSD compare strings
rcsdiff OpenBSD compare RCS revisions
strncmp OpenBSD compare strings
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service