Hello Harold, and a very belated congratulations! I've been out of the country for a few weeks and reading email was not one of my prerogatives...
At 03:09 PM 7/9/2003 -0400, you wrote:
Does your patch fail gracefully if run on non-NT-based OSes? If so, I will give my go-ahead. If not, please modify it so that it exits if not running on Windows NT-based OSes.
Yes, it dynamically queries for the existence of a DLL and then the requisite function calls inside. If these fail it just returns a dummy value (1.0) for the load. Safe to compile and run under any Windoze OS.
Thanks,
Harold
-------- Original Message -------- Subject: Cygwin/XFree86 patch in XFree86 Bugzilla Date: Wed, 9 Jul 2003 17:21:08 +0200 From: Egbert Eich To: Harold L Hunt II
Hi Harold,
there is a patch in the XFree86 bugzilla
http://bugs.xfree86.org//cgi-bin/bugzilla/show_bug.cgi?id=305
adding support for Windows NT like OSes to xload. I assume that this will not work on non-NT-like Windows systems as the required performance counters are not available there. I would like to commit this code to the XFree86 CVS but I would like to get an opinion form somebody on the Cygwin team. If you would rather keep this code in your repository and merge it at some later time please let me know.
Cheers, Egbert.
-Earle F. Philhower, III [EMAIL PROTECTED] cdrlabel - ZipLabel - FlpLabel http://www.cdrlabel.com