Man Page: pthread_threadid_np
Operating Environment: mojave
Section: 3
PTHREAD_THREADID_NP(3) BSD Library Functions Manual PTHREAD_THREADID_NP(3)NAMEpthread_threadid_np -- get the calling thread's unique IDSYNOPSIS#include <pthread.h> int pthread_threadid_np(pthread_t thread, uint64_t *thread_id);DESCRIPTIONThe pthread_threadid_np() function stores the system-wide unique integral ID of thread in the location spedified by thread_id. If thread is NULL, the ID of the current thread is provided.RETURN VALUESIf successful, the pthread_threadid_np() function will return zero. Otherwise an error number will be returned to indicate the error.ERRORSThe pthread_threadid_np() function will fail if: [EINVAL] NULL value for thread_id. [ESRCH] Non-existent thread thread.SEE ALSOpthread_self(3)BSDApril 12, 2016 BSD
| Related Man Pages |
|---|
| pthread_setschedparam(3) - mojave |
| pthread_getname_np(3) - netbsd |
| pthread_resume_np(3) - netbsd |
| pthread_setname_np(3) - netbsd |
| pthread_detach(3) - freebsd |
| Similar Topics in the Unix Linux Community |
|---|
| 12-Core MacPro (2013) kernel_task over 1200% |
| Shopt -s histappend |
| My first PERL incarnation... Audio Oscillograph |
| Controlling user input |