delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/05/17/13:46:36

Message-Id: <200005171740.MAA15445@darwin.sfbr.org>
Date: Wed, 17 May 2000 12:41:05 -0500 (CDT)
From: Jeff Williams <jeffw AT darwin DOT sfbr DOT org>
Subject: Re: Algorithm for integer timing loop
To: djgpp AT delorie DOT com
MIME-Version: 1.0
X-Mailer: dtmail 1.3.0 @(#)CDE Version 1.3.4 SunOS 5.7 sun4u sparc
Reply-To: djgpp AT delorie DOT com

Parts of this thread are starting to sound familiar; I am wondering
if I should also be concerned with custom handling of SIGINT....

I have a numerical program that compiles cleanly (DOS 5.0, djgpp 2.03,
gcc 2.7.2.1, bash 2.03), produces the desired results, but displays the
following behavior I've not encountered before:

	- 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?

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019