Date: Mon, 21 Dec 1998 10:03:02 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Agent Drek cc: djgpp AT delorie DOT com Subject: Re: cpu eater In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com On Sun, 20 Dec 1998, Agent Drek wrote: > |> I am just confused because the same code works great on my SGI. > | > |It also works great on my NT and on Windows 9X as well. > | > > I will try a different NT box. There is one more possibility that I overlooked, until now. Are you using the stock C library released with DJGPP v2.01? If so, upgrade to version 2.02 and try again. The internal workings of the __dpmi_yield function were changed in v2.02: it now issues its call via __dpmi_int, rather than emitting an INT 2Fh instruction directly. This change was meant to prevent certain versions of Windows 9X to wedge the DOS box after a __dpmi_yield call in nested DJGPP programs, but it could be also the reason for the difference in the behavior on the NT. I used the revised version of __dpmi_yield in my testing.