MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Standard C Library Functions                    pthreadequal(3C)



NAME
     pthreadequal - compare thread IDs

SYNOPSIS
     cc -mt [ flag... ] file... -lpthread [ library... ]
     #include 

     int pthreadequal(pthreadt t1, pthreadt t2);


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

RETURN VALUES
     The pthreadequal() 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 unde-
     fined.

ERORS
     No errors are defined.

ATRIBUTES
     See attributes(5) for descriptions of the  following  attri-
     butes:



     
           ATRIBUTE TYPE               ATRIBUTE VALUE       
    
     Interface Stability          Standard                    
    
     MT-Level                     MT-Safe                     
    


SEE ALSO
     pthreadcreate(3C), pthreadself(3C),  attributes(5),  stan-
     dards(5)

NOTES
     Solaris thread IDs do not  require  an  equivalent  function
     because the threadt structure is an unsigned int.








SunOS 5.11          Last change: 23 Mar 2005                    1



OpenSolaris man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™