Path: utzoo!attcan!uunet!lll-winken!ames!mailrus!iuvax!purdue!decwrl!sun!pepper!cmcmanis From: cmcmanis%pepper@Sun.COM (Chuck McManis) Newsgroups: comp.sys.amiga.tech Subject: Re: Task KILL for Amiga Keywords: kill task CLI Message-ID: <85520@sun.uucp> Date: 16 Jan 89 23:52:21 GMT References: <89Jan14.134000est.2661@godzilla.eecg.toronto.edu> Sender: news@sun.uucp Reply-To: cmcmanis@sun.UUCP (Chuck McManis) Organization: Sun Microsystems, Mountain View Lines: 22 In (Marcel LeBlanc) writes: > I'm looking for a program like the UNIX kill that will allow me to terminate > a CLI spawned task. Can't do it. Lots of reasons why, the solution for Lattice 3.1 is to make sure that you code either calls "CheckAbort()" or sets up an interrupt for break signals. > I'm writing some simple C code with the Lattice compiler v3.10 (stop > laughing, I'll get around to updating someday!). What am I supposed ` > to do when the program is in an infinite loop? I'm not laughing, but you should know that the 5.0 release of Lattice includes a debugger that a) you can run your program under and have it break out when it is hung, or b) start the debugger after you code gets hung and "attach" to it, change the code that is causing it to hang and then let it finish. Your best bet is to upgrade. --Chuck McManis uucp: {anywhere}!sun!cmcmanis BIX: cmcmanis ARPAnet: cmcmanis@sun.com These opinions are my own and no one elses, but you knew that didn't you.