Date: Thu, 22 Dec 2011 17:08:51 +0000 From: "Poul-Henning Kamp" <phk@phk.freebsd.dk> To: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no> Cc: arch@freebsd.org, freebsd-arch@freebsd.org, threads@freebsd.org, Hans Petter Selasky <hselasky@c2i.net> Subject: Re: [Patch] C1X threading support Message-ID: <82795.1324573731@critter.freebsd.dk> In-Reply-To: Your message of "Thu, 22 Dec 2011 18:04:14 %2B0100." <86vcp8sfld.fsf@ds4.des.no>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <86vcp8sfld.fsf@ds4.des.no>, =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= wr ites: >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. That is requiring far more than necessary: All that is needed is a monotonic timescale, such as the, precisely named, CLOCK_MONOTONIC timescale POSIX introduced to solve the exact same kind of issues. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?82795.1324573731>