www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/10/07/10:36:20

Message-ID: <01BF10C3.98917580@tim.polyhedra.com>
From: Tim Bedding <tim AT polyhedra DOT com>
To: "'djgpp AT delorie DOT com'" <djgpp AT delorie DOT com>
Subject: Problems using signals
Date: Thu, 7 Oct 1999 12:58:04 +-100
Encoding: 22 TEXT
Reply-To: djgpp AT delorie DOT com

Due to a mistake, I ran a program containing
a tight loop. This simple program did not explicitly define
or call any signal functions.

I could not interrupt the program using Ctrl-C.

Is this to be expected? Is there a way to program
or compile in order to make sure that the program
is always interruptable somehow?

(djgpp 2.95)

Can someone suggest an example C program
which does things the right way?

Please can you refer me to the appropriate
web resources if this is something I need to read first.
I have read the info documentation of the signal
function.

Cordially
Tim

- Raw text -


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