Date: Thu, 19 Jul 2012 17:39:28 +0800 From: David Xu <listlog2011@gmail.com> To: davidxu@freebsd.org Cc: freebsd-threads@freebsd.org Subject: Re: threads/168417: pthread_getcpuclockid() does not work to specification Message-ID: <5007D5D0.8060007@gmail.com> In-Reply-To: <5007D4BD.6030402@gmail.com> References: <201207120800.q6C80ISC073892@freefall.freebsd.org> <5007D4BD.6030402@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2012/7/19 17:34, David Xu wrote: > On 2012/7/12 16:00, David Xu wrote: >> The following reply was made to PR threads/168417; it has been noted >> by GNATS. >> >> From: David Xu <davidxu@freebsd.org> >> 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 > > I have updated the patch, if no objection, I would commit it soon. > > http://people.freebsd.org/~davidxu/patch/cputime_clockid3.diff I still only allow getting thread cpu time in same process, note that it does not support creating timer via timer_create(), it is just a counter.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5007D5D0.8060007>