🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc.misc
Article #3116

Re: When CTRL+C doesn't work.

#3116
From: Timo Salmi LASK
Date: Tue, 11 Sep 1990 19:46
20 lines
1540 bytes
In article <6241@castle.ed.ac.uk> elee24@castle.ed.ac.uk (H Bruce) writes:
>I am getting more distenchanted with my PC .......
>I am implementing image processing algortihms (using Microsoft C 5.1).
>Such algorithms consist of many nested loops.
>When a bug in my code causes a loop never to exit the PC hangs.
>This is not because DOS has crashed but beacuse the microprocessor cannot
>be interrupted by CRTL+C or CTLR+BREAK.
>This result is that the PC must be rebooted.
>This is a very time consuming way to find bugs !
>Does anyone know how I can interrupt the program ?

You'll need a break handler.  Unfortunately I don't no C, so I
cannot give you a C reference.  But the principle should not be
overly language dependent, and I know that there is a break handler
in Ohlsen & Stoker, Turbo Pascal Advance Techniques, Chapter 7.

...................................................................
Prof. Timo Salmi        (Moderating at anon. ftp site 128.214.12.3)
School of Business Studies, University of Vaasa, SF-65101, Finland
Internet: ts@chyde.uwasa.fi Funet: gado::salmi Bitnet: salmi@finfun
Technical Details
Message-ID: <1990Sep11.194619.22306@uwasa.fi>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!rpi!uupsi!sunic!news.funet.fi!uwasa.fi!ts
References: <6241@castle.ed.ac.uk>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!rpi!uupsi!sunic!news.funet.fi!uwasa.fi!ts
From: ts@uwasa.fi (Timo Salmi LASK)
Newsgroups: comp.sys.ibm.pc.misc
Subject: Re: When CTRL+C doesn't work.
Message-ID: <1990Sep11.194619.22306@uwasa.fi>
Date: 11 Sep 90 19:46:19 GMT
References: <6241@castle.ed.ac.uk>
Organization: University of Vaasa
Lines: 20