man threads(5) shows
<....>
Functions Related to IDs
POSIX (libpthread) Solaris (libthread)
pthread_self() thr_self()
<....>
micke wrote:
> hi, in lunix I can do following:
>
> tid = syscall(SYS_gettid);
>
> to get the thread id of the current thread.
>
> How do I do this in solaris?
>
>
> This message posted from opensolaris.org
> _______________________________________________
> opensolaris-code mailing list
> [email protected]
> http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
>
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code