Query: pthread_self
OS: opensolaris
Section: 3c
Links: opensolaris man pages all man pages
Forums: unix linux community forum categories
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
pthread_self(3C) Standard C Library Functions pthread_self(3C)NAMEpthread_self - get calling thread's IDSYNOPSIScc -mt [ flag... ] file... -lpthread [ library... ] #include <pthread.h> pthread_t pthread_self(void);DESCRIPTIONThe pthread_self() function returns the thread ID of the calling thread.ERRORSNo errors are defined.ATTRIBUTESSee attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Standard | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+SEE ALSOpthread_create(3C), pthread_equal(3C), attributes(5), standards(5) SunOS 5.11 23 Mar 2005 pthread_self(3C)
Related Man Pages |
---|
pthread_self(3c) - opensolaris |
pthread_equal(3c) - sunos |
pthread_self(3) - v7 |
pthread_self(3) - opendarwin |
pthread_self(3) - bsd |
Similar Topics in the Unix Linux Community |
---|
calling pthread_self (on ubuntu), expensive? |
[c] is -lpthread correct option? |