Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!cbmvax!phillip From: phillip@cbmvax.cbm.UUCP (Phillip Lindsay) Newsgroups: comp.sys.amiga Subject: Re: Re: MANX bugs with Tasking (the REAL fix) Message-ID: <1194@cbmvax.cbmvax.cbm.UUCP> Date: Mon, 29-Dec-86 08:48:38 EST Article-I.D.: cbmvax.1194 Posted: Mon Dec 29 08:48:38 1986 Date-Received: Wed, 31-Dec-86 22:43:19 EST References: <1169@cbmvax.cbmvax.cbm.UUCP> Organization: Commodore Technology, West Chester, PA Lines: 22 > > Summary > ------- > I can create a task, but without going to the message port solution > outlined above, the program loses the memory allocated for task structure > and stack every time because the parent can't free it (through not knowing > when the child has finished). > I tried having the optional FinalPC code do it for the child, but > (I guess) as soon as it tries to free its own stack, its history (i.e., guru). > > Paul Higginbottom. > > Disclaimer: I work for myself, and my opinions are my own. > Paul - In the task control block there is a memory list. You can stick your stack, TCB allocation there...and when you do a RemTask(0) the memory will be de-allocated for you. -phil ============================================================================== Phillip Lindsay - Commodore Business Machines - Amiga Technical Support UUCP: {ihnp4|seismo|caip}!cbmvax!phillip - Phone: (215) 431-9180 No warranty is implied or otherwise given in the form of suggestion or example. Any opinions found here are of my making. /* eof */