🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Help -- dos.library gurus when process is killed!

#1312
From: Christian Motz
Date: Sun, 17 Sep 1989 12:10
17 lines
1367 bytes
For some time now I have tried to implement a  kill-mechanism  similar
to the one used in UN*X on dear old Amy.  I  am  using  the  exception
mechanism provided by Exec.
   Everything works fine, I can send the "kill"-signal to the process,
the process suspends execution, enters the exception handling  routine
and exits -- or gurus. It *ALWAYS*  gurus  if  the  process  has  been
doing I/O when it was killed. But it is not really the process  itself
that gurus, but dos.library: it  reports  an  AN_AsyncPkt  (unexpected
packet received).
   Up to now I have tried several  things  to  prevent  this  kind  of
behaviour, but so far I haven't been successful. What  is  it  I  have
overlooked? I would greatly appreciate any pointers on how to get  rid
of this problem.

--
Christian Motz           uucp: ...!uunet!mcvax!unido!nadia!dialog!root
"Trust me, I know what I'm doing!" -- Sledge Hammer         Bix: cmotz
Technical Details
Message-ID: <1183@dialog.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!uunet!mcsun!unido!nadia!dialog!root

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!uunet!mcsun!unido!nadia!dialog!root
From: root@dialog.UUCP (Christian Motz)
Newsgroups: comp.sys.amiga.tech
Subject: Help -- dos.library gurus when process is killed!
Message-ID: <1183@dialog.UUCP>
Date: 17 Sep 89 12:10:02 GMT
Sender: uucp@dialog.UUCP
Reply-To: root@dialog.UUCP (Christian Motz)
Organization: Dialog Software Development
Lines: 17