X-Spam-Check-By: sourceware.org Date: Tue, 10 Jan 2006 12:27:39 -0600 From: Brian Ford Reply-To: cygwin@cygwin.com To: cygwin@cygwin.com Subject: clock_setres usage? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Delivered-To: mailing list cygwin@cygwin.com Since clock_getres only returns the current resolution, and clock_setres fails for invalid ones, is trial and error the only Cygwin based (without reverting to Windows native calls) method to set a particular resolution? Google shows that some implementations round up to the nearest supported resolution. Would that be a P to TC? Thanks. -- Brian Ford Lead Realtime Software Engineer VITAL - Visual Simulation Systems FlightSafety International the best safety device in any aircraft is a well-trained pilot... -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/