SAM function SAM-My-pthreadid()
From SoOS
Contents |
[edit] Name
SAM_ - get calling thread's pthread ID
[edit] Synopsis
#include <sam.h> pthread_t SAM_My_pthreadid();
[edit] Description
The SAM_My_pthreadid() function returns the pthread_t ID of the calling thread. It is equivalent to calling pthread_self().
[edit] Return value
See DESCRIPTION above.
[edit] Errors
None.
[edit] Examples
None.