pthread_equal man page on SmartOS

Man page or keyword search:  
man Server   16655 pages
apropos Keyword Search (all sections)
Output format
SmartOS logo
[printable version]

PTHREAD_EQUAL(3C)					     PTHREAD_EQUAL(3C)

NAME
       pthread_equal - compare thread IDs

SYNOPSIS
       cc -mt [ flag... ] file... -lpthread [ library... ]
       #include <pthread.h>

       int pthread_equal(pthread_t t1, pthread_t t2);

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

RETURN VALUES
       The  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.

ERRORS
       No errors are defined.

ATTRIBUTES
       See attributes(5) for descriptions of the following attributes:

       ┌────────────────────┬─────────────────┐
       │  ATTRIBUTE TYPE    │ ATTRIBUTE VALUE │
       ├────────────────────┼─────────────────┤
       │Interface Stability │ Standard	      │
       ├────────────────────┼─────────────────┤
       │MT-Level	    │ MT-Safe	      │
       └────────────────────┴─────────────────┘

SEE ALSO
       pthread_create(3C), pthread_self(3C), attributes(5), standards(5)

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

				 Mar 23, 2005		     PTHREAD_EQUAL(3C)
[top]

List of man pages available for SmartOS

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net