From owner-svn-src-all@FreeBSD.ORG Mon Feb 7 23:12:38 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5F8CA1065672; Mon, 7 Feb 2011 23:12:38 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 6DC258FC1E; Mon, 7 Feb 2011 23:12:37 +0000 (UTC) Received: by wwf26 with SMTP id 26so5203651wwf.31 for ; Mon, 07 Feb 2011 15:12:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=0rf06OEae5GhHmwkvcRwtjhRaiwDz3kHie7Ym/+d9qw=; b=gAT1wHcGww3lIkzJvyl8Dy0sHhny0/zkLLr780GqM4sH3zq4JN0TI+ZMXaXO5ueiot hFYzH6Mi7/hykosqY2rBOH38XGuxSvttutqEGFvqMJcAetXP8XJGUdWr5XC2gUy8fEnH vi7htO2oyO7Te9tp3p2USioYJKOkjmx4q/kDw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=YUsFE6iiJQCYg7mSuB59ByulkFnww+aZFqzj4M9wFamMzXDLF5FeuuNJxxfRfJRofS KgD2ZJ7UtA48+2SWFK5RaThHSUL+B60rgqR9aZQoNUcqpTRuOoxotyyWMOCahrQ/lNrc 6OaCVEPbsOcQiwLO11FewujW96x3A3jpvfXnc= MIME-Version: 1.0 Received: by 10.216.51.130 with SMTP id b2mr15152748wec.42.1297120356020; Mon, 07 Feb 2011 15:12:36 -0800 (PST) Sender: yanegomi@gmail.com Received: by 10.216.71.200 with HTTP; Mon, 7 Feb 2011 15:12:35 -0800 (PST) In-Reply-To: <201102072126.p17LQlwF022935@svn.freebsd.org> References: <201102072126.p17LQlwF022935@svn.freebsd.org> Date: Mon, 7 Feb 2011 15:12:35 -0800 X-Google-Sender-Auth: HhMOiTDwwVy82QyDdZAoa_xdY5s Message-ID: From: Garrett Cooper To: Jung-uk Kim Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Feb 2011 23:12:38 -0000 On Mon, Feb 7, 2011 at 1:26 PM, Jung-uk Kim 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