From owner-freebsd-arch@FreeBSD.ORG Thu Dec 22 17:04:18 2011 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E58EB106566C; Thu, 22 Dec 2011 17:04:18 +0000 (UTC) (envelope-from des@des.no) Received: from smtp.des.no (smtp.des.no [194.63.250.102]) by mx1.freebsd.org (Postfix) with ESMTP id A59AA8FC0A; Thu, 22 Dec 2011 17:04:18 +0000 (UTC) Received: from ds4.des.no (des.no [84.49.246.2]) by smtp.des.no (Postfix) with ESMTP id 02A036D8E; Thu, 22 Dec 2011 17:04:15 +0000 (UTC) Received: by ds4.des.no (Postfix, from userid 1001) id 7C42181A9; Thu, 22 Dec 2011 18:04:14 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Hans Petter Selasky References: <4EF059DC.26433.B55D8036@s_sourceforge.nedprod.com> <4EF084A8.32369.B604AD16@s_sourceforge.nedprod.com> <201112211854.40798.hselasky@c2i.net> Date: Thu, 22 Dec 2011 18:04:14 +0100 In-Reply-To: <201112211854.40798.hselasky@c2i.net> (Hans Petter Selasky's message of "Wed, 21 Dec 2011 18:54:40 +0100") Message-ID: <86vcp8sfld.fsf@ds4.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: arch@freebsd.org, threads@freebsd.org, Niall Douglas , freebsd-arch@freebsd.org Subject: Re: [Patch] C1X threading support X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Dec 2011 17:04:19 -0000 Hans Petter Selasky writes: > Absolute timeouts is no good idea! We should stick with kernel-ticks when= =20 > possible :-) There is no such thing as a kernel in the C standard. All it knows about is the implementation and the program. The best solution would probably have been a timescale that counts the time elapsed since the start of the program. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no