pthread_self(3) Library Functions Manual pthread_self(3) pthread_self - POSIX (libpthread -lpthread) #include pthread_t pthread_self(void); pthread_self() . *thread pthread_create(3) . . . attributes(7). +------------+------------------------------------+--------------------+ || | | +------------+------------------------------------+--------------------+ |pthread_self()| | MT-Safe | | | | | +------------+------------------------------------+--------------------+ POSIX.1-2008. POSIX.1-2001. POSIX.1 . pthread_t C (==) pthread_equal(3) . : pthreads . . . pthread_self() gettid(2). pthread_create(3), pthread_equal(3), pthreads(7) 3 . . : . 6.18 17 2025 pthread_self(3)