Sender: root AT gateway DOT cybernet DOT com Message-ID: <31FD390A.41C67EA6@cybernet.com> Date: Mon, 29 Jul 1996 18:19:54 -0400 From: "Mark J. Taylor" Organization: Cybernet Systems MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: setitimer() resolution is 18.2 Hz? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I downloaded v2 last week from ftp.delorie.com, and now I'm writing my first program. I've written software for UNIX and DOS for years, so gcc is not new to me. :) I'm using the setitimer() routine to provide a callback at 100 Hz. The code works under UNIX (FreeBSD, SunOS, VxWorks, IRIX, etc.) at the specified rate (up to some maximum dependent on the OS). It seems that DJGPP is limiting me to a timer callback rate of 18.2 Hz (9.1 with the standard SIGTIMR callback routine timer_action(), 18.2 with my own). Is there a way to make it faster that is accepted? I've been reprogramming the PIT under DOS for years, but I thought I'd ask the mailing list before I went hacking too deeply into the sources. If this is an area of development, then I'd be glad to provide some input in the form of code and such. Please respond to mtaylor AT cybernet DOT com, as I am not currently on the mailing lists. -Mark Taylor Software Engineer Cybernet Systems Corporation mtaylor AT cybernet DOT com