🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #8336

Killing a task using SetExcept()

#8336
From: Jim Schifalacqua
Date: Mon, 07 Mar 1988 19:03
11 lines
1034 bytes
Hello,
   I am trying to design a neat way to kill tasks spawned by my programs.
I want to use exception processing via SetExcept and the tc_ExceptCode field.
What I mean to do is point tc_ExceptCode at my cleanup routine and use
SetExcept to point a signal that will start thisup from within my task.
My question is how will the system react to a RemTask() call from within the
exception?  The more I think about this the more it seems to me that I am
going to crash the system- what is the true wisdom on this?

Thanks!
 
Technical Details
Message-ID: <1406@louie.udel.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!burl!codas!uflorida!gatech!udel!schifala
References: <7409@agate.BERKELEY.EDU> <1401@louie.udel.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!burl!codas!uflorida!gatech!udel!schifala
From: schifala@udel.EDU (Jim Schifalacqua)
Newsgroups: comp.sys.amiga.tech
Subject: Killing a task using SetExcept()
Keywords: tasking, signals, exception processing
Message-ID: <1406@louie.udel.EDU>
Date: 7 Mar 88 19:03:50 GMT
References: <7409@agate.BERKELEY.EDU> <1401@louie.udel.EDU>
Sender: usenet@udel.EDU
Reply-To: schifala@udel.EDU (Jim Schifalacqua)
Organization: University of Delaware
Lines: 11