Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sat, 3 Mar 2001 17:40:38 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sat, 3 Mar 2001 17:40:27 -0500 Received: from twinlark.arctic.org ([204.107.140.52]:32782 "HELO twinlark.arctic.org") by vger.kernel.org with SMTP id ; Sat, 3 Mar 2001 17:40:16 -0500 Date: Sat, 3 Mar 2001 14:40:15 -0800 (PST) From: dean gaudet To: "Richard B. Johnson" cc: Christopher Friesen , John Being , Subject: Re: strange nonmonotonic behavior of gettimeoftheday -- seen similar problem on PPC In-Reply-To: Message-ID: X-comment: visit http://arctic.org/~dean/legal for information regarding copyright and disclaimer. MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2 Mar 2001, Richard B. Johnson wrote: > Note that two subsequent calls to gettimeofday() must not return the > same time even if your CPU runs infinitely fast. I haven't seen any > kernel in the past few years that fails this test. i don't see any requirement for this in SuS. http://www.opengroup.org/onlinepubs/007908799/xsh/gettimeofday.html it'd be a pretty disappointing requirement. -dean - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/