Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Feb 2011 15:12:35 -0800
From:      Garrett Cooper <gcooper@FreeBSD.org>
To:        Jung-uk Kim <jkim@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r218414 - in head: include lib/libc/include lib/libthr lib/libthr/thread share/man/man3 sys/sys
Message-ID:  <AANLkTinwaMyp3nh5tD34jnpwEjEx%2BJhC9BBuy6=GYM4S@mail.gmail.com>
In-Reply-To: <201102072126.p17LQlwF022935@svn.freebsd.org>
References:  <201102072126.p17LQlwF022935@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Feb 7, 2011 at 1:26 PM, Jung-uk Kim <jkim@freebsd.org> wrote:
> Author: jkim
> Date: Mon Feb =A07 21:26:46 2011
> New Revision: 218414
> URL: http://svn.freebsd.org/changeset/base/218414
>
> Log:
> =A0Introduce a non-portable function pthread_getthreadid_np(3) to retriev=
e
> =A0calling thread's unique integral ID, which is similar to AIX function =
of
> =A0the same name. =A0Bump __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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTinwaMyp3nh5tD34jnpwEjEx%2BJhC9BBuy6=GYM4S>