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

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

PTHREAD_SELF(3)

Contents


NAME    [Toc]    [Back]

     pthread_self -- get the calling thread's ID

LIBRARY    [Toc]    [Back]

     Reentrant C Library (libc_r, -lc_r)

SYNOPSIS    [Toc]    [Back]

     #include <pthread.h>

     pthread_t
     pthread_self(void);

DESCRIPTION    [Toc]    [Back]

     The pthread_self() function returns the thread ID of the calling thread.

RETURN VALUES    [Toc]    [Back]

     The pthread_self() function returns the thread ID of the calling thread.

ERRORS    [Toc]    [Back]

     None.

SEE ALSO    [Toc]    [Back]

      
      
     pthread_create(3), pthread_equal(3)

STANDARDS    [Toc]    [Back]

     The pthread_self() 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_join Tru64 Causes the calling thread to wait for the termination of the specified thread
pthread_exit FreeBSD terminate the calling thread
pthread_exit IRIX terminate the calling thread
pthread_exit Tru64 Terminates the calling thread
pthread_exit OpenBSD terminate the calling thread
pthread_self Tru64 Obtains the identifier of the calling thread
tis_self Tru64 Obtains the identifier of the calling thread
sigtimedwait Tru64 Suspend a calling thread until a signal arrives
sigwaitinfo Tru64 Suspend a calling thread until a signal arrives
sigwait Tru64 Suspend a calling thread until a signal arrives
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service