svn commit: r218414 - in head: include lib/libc/include lib/libthr lib/libthr/thread share/man/man3 sys/sys

Garrett Cooper gcooper at FreeBSD.org
Mon Feb 7 23:12:38 UTC 2011


On Mon, Feb 7, 2011 at 1:26 PM, Jung-uk Kim <jkim at freebsd.org> wrote:
> Author: jkim
> Date: Mon Feb  7 21:26:46 2011
> New Revision: 218414
> URL: http://svn.freebsd.org/changeset/base/218414
>
> Log:
>  Introduce a non-portable function pthread_getthreadid_np(3) to retrieve
>  calling thread's unique integral ID, which is similar to AIX function of
>  the same name.  Bump __FreeBSD_version to note its introduction.

    Stupid question: how is this different from pthread_self() ? Isn't
the pthread_t value returned unique across the system, or is it
relative to the process somehow?
Thanks,
-Garrett


More information about the svn-src-all mailing list