PTHREAD_GETTHREADID_NP(3) | MidnightBSD Library Functions Manual | PTHREAD_GETTHREADID_NP(3) |
pthread_getthreadid_np
—
get the calling thread's integral ID
POSIX Threads Library (libpthread, -lpthread)
#include
<pthread_np.h>
int
pthread_getthreadid_np
(void);
The
pthread_getthreadid_np
()
function returns the unique integral ID of the calling thread. Its semantics
is similar to the AIX's pthread_getthreadid_np
()
function.
The pthread_getthreadid_np
() function
returns the thread integral ID of the calling thread.
None.
This manual page was written by Jung-uk Kim <jkim@FreeBSD.org>.
February 25, 2012 | midnightbsd-3.1 |