Thread View: comp.sys.amiga.tech
1 messages
1 total messages
Started by Jens Gelhar
Wed, 12 Dec 1990 14:49
Kill a PROCESS?
Author: Jens Gelhar
Date: Wed, 12 Dec 1990 14:49
Date: Wed, 12 Dec 1990 14:49
22 lines
1253 bytes
1253 bytes
I am working on a Debugger and have got a litle (?) Problem: Is it possible to kill a DOS Process that was created with CreateProc()? I tried to kill its Exec task by using RemTask on it's task Structure, but it seems that an "empty" DOS Process still lives (and it's stack memory doesn't get deallocated). Is there an other way? I made up a very brutal method (but did not try it :-) ): use SPReg from the task structure and set the return address on the stack to the Exit() function (only when the Process is in running/ready state, of course). Do you think that might work? CU, Jens. -- / / . ___ ___ ___ / * The Himpel Software Systems Company /---/ / / / / / / /__/ / * Jens Gelhar - himpel@uni-paderborn.de / / / / / / /__/ /___ /_ * Support for Kick-Ass + Kick-Pascal Life! Don't talk / to me about life! * >>> THE HIMPIRE STRIKES BACK <<<
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads