From cvs-return-3982-apmail-apr-cvs-archive=apr.apache.org@apr.apache.org Sun Aug 04 18:31:39 2002 Return-Path: Delivered-To: apmail-apr-cvs-archive@apr.apache.org Received: (qmail 56615 invoked by uid 500); 4 Aug 2002 18:31:39 -0000 Mailing-List: contact cvs-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: dev@apr.apache.org Delivered-To: mailing list cvs@apr.apache.org Received: (qmail 56604 invoked from network); 4 Aug 2002 18:31:38 -0000 Date: 4 Aug 2002 18:31:38 -0000 Message-ID: <20020804183138.56723.qmail@icarus.apache.org> From: wrowe@apache.org To: apr-cvs@apache.org Subject: cvs commit: apr/time/win32 time.c X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N wrowe 2002/08/04 11:31:38 Modified: time/win32 time.c Log: Docs are always good, especially when it's this obscure. Revision Changes Path 1.37 +3 -0 apr/time/win32/time.c Index: time.c =================================================================== RCS file: /home/cvs/apr/time/win32/time.c,v retrieving revision 1.36 retrieving revision 1.37 diff -u -r1.36 -r1.37 --- time.c 4 Aug 2002 18:29:33 -0000 1.36 +++ time.c 4 Aug 2002 18:31:38 -0000 1.37 @@ -294,6 +294,9 @@ APR_DECLARE(void) apr_time_clock_hires(apr_pool_t *p) { ULONG newRes; + /* Timer resolution is stated in 100ns units. Note that TRUE requests the + * new clock resolution, FALSE above releases the request. + */ if (SetTimerResolution(10000, TRUE, &newRes) == 0 /* STATUS_SUCCESS */) { /* register the cleanup... */ apr_pool_cleanup_register(p, (void*)10000, clock_restore,