cc -mt [ flag... ] file...[ library... ] #include <thread.h>
thr_self() returns the thread ID of the calling thread.
No errors are defined.
See attributes(5) for descriptions of the following attributes:
thr_create(3THR), attributes(5), standards(5)