Content-type: text/html Man page of pthread_self

pthread_self

Section: Standard C Library Functions (3C)
Updated: 23 Mar 2005
Index Return to Main Contents
 

NAME

pthread_self - get calling thread's ID  

SYNOPSIS

cc -mt [ flag... ] file... -lpthread [ library... ]

#include <pthread.h> 

pthread_t pthread_self(void);  

DESCRIPTION

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

ERRORS

No errors are defined.  

ATTRIBUTES

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

ATTRIBUTE TYPEATTRIBUTE VALUE
Interface StabilityStandard
MT-LevelMT-Safe

 

SEE ALSO

pthread_create(3C), pthread_equal(3C), attributes(5), standards(5)


 

Index

NAME
SYNOPSIS
DESCRIPTION
ERRORS
ATTRIBUTES
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 02:37:26 GMT, October 02, 2010