From owner-freebsd-threads@FreeBSD.ORG Sat Jul 14 00:07:54 2012 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BE6E4106566C; Sat, 14 Jul 2012 00:07:54 +0000 (UTC) (envelope-from listlog2011@gmail.com) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9EA528FC14; Sat, 14 Jul 2012 00:07:54 +0000 (UTC) Received: from xp5k.my.domain (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q6E07rW1076898; Sat, 14 Jul 2012 00:07:53 GMT (envelope-from listlog2011@gmail.com) Message-ID: <5000B84F.2090903@gmail.com> Date: Sat, 14 Jul 2012 08:07:43 +0800 From: David Xu User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:13.0) Gecko/20120628 Thunderbird/13.0.1 MIME-Version: 1.0 To: davidxu@freebsd.org References: <201207120800.q6C80ISC073892@freefall.freebsd.org> <20120713210547.GA67646@stack.nl> <5000B280.3040107@gmail.com> In-Reply-To: <5000B280.3040107@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-threads@freebsd.org Subject: Re: threads/168417: pthread_getcpuclockid() does not work to specification X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: davidxu@freebsd.org List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Jul 2012 00:07:54 -0000 On 2012/07/14 07:42, David Xu wrote: > On 2012/07/14 05:05, Jilles Tjoelker wrote: >> On Thu, Jul 12, 2012 at 08:00:18AM +0000, David Xu wrote: >>> The following reply was made to PR threads/168417; it has been noted >>> by GNATS. >>> From: David Xu >>> To: bug-followup@freebsd.org, chris.hall@highwayman.com >>> Cc: >>> Subject: Re: threads/168417: pthread_getcpuclockid() does not work >>> to specification >>> Date: Thu, 12 Jul 2012 15:51:02 +0800 >>> I have worked out a patch trying to fix the problem: >>> http://people.freebsd.org/~davidxu/patch/cputime_clockid.diff >> Some comments: I have updated it: http://people.freebsd.org/~davidxu/patch/cputime_clockid2.diff