pthread_self(3T) pthread_self(3T) NAME pthread_self() - obtain the thread ID for the calling thread SYNOPSIS PARAMETERS None. DESCRIPTION returns the of the calling thread. The thread ID returned is the same ID that is returned in the thread parameter to the creating thread at thread creation time. Thread IDs are guaranteed to be unique only within a process. RETURN VALUE always returns the thread ID of the current thread. ERRORS None. AUTHOR was derived from the IEEE POSIX P1003.1c standard. SEE ALSO pthread_create(3T), pthread_equal(3T), getpid(2). STANDARDS CONFORMANCE Pthread Library pthread_self(3T)[top]
Vote for polarhome |