From: Eli Zaretskii Newsgroups: comp.os.msdos.djgpp Subject: Re: Algorithm for integer timing loop Date: Wed, 17 May 2000 21:51:49 +0200 Organization: NetVision Israel Lines: 25 Message-ID: <3922F855.13B1C180@is.elta.co.il> References: <200005171740 DOT MAA15445 AT darwin DOT sfbr DOT org> NNTP-Posting-Host: ras1-p61.rvt.netvision.net.il Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news.netvision.net.il 958589548 6370 62.0.172.63 (17 May 2000 18:52:28 GMT) X-Complaints-To: abuse AT netvision DOT net DOT il NNTP-Posting-Date: 17 May 2000 18:52:28 GMT X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en,ru,hebrew To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Jeff Williams wrote: > > - first invocation of program runs completely and correctly. > > - invoke program again, but interrupt it before it completes, > using Ctrl-C or Ctrl-Break. > > - invoke program again and I get no response, no output, > nothing. Must ^C or ^break to regain prompt. Same for any > further invocations. > > - HOWEVER, if I execute a simple `ls' after interrupting the > program, the next invocation *will* run properly. > > Do these symptoms sound familiar to anyone? No. Please tell more about what the program does. If you run the program from Bash, try running it from COMMAND.COM and see if this helps. Also, when it gets stuck and you interrupt it with Ctrl-BREAK, it should print a DJGPP-standard traceback. Please tell where does this traceback point. Finally, please tell what happens if, after the crazy behavior commences, you run a small program that calls _clear87 and _fpureset, and then exits.