thr_self(3thread)
thr_self --
get thread identifier of the calling thread
Synopsis
   cc [options] -Kthread file
   
   #include <thread.h>
   
   thread_t thr_self(void);
Description
thr_self returns the identifier of the calling thread.
Return values
thr_self returns the identifier of the calling thread.
Errors
None.
This function always succeeds.
References
Intro(3thread),
getuid(2),
thr_create(3thread)
© 2004 The SCO Group, Inc.  All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004