Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!lll-winken!csd4.milw.wisc.edu!leah!rpi!rpi.edu!deven From: deven@rpi.edu (Deven Corzine) Newsgroups: comp.sys.amiga Subject: Re: slight bug in tasks ... Message-ID: Date: 26 May 89 08:35:16 GMT References: <16274@louie.udel.EDU> Sender: usenet@rpi.edu Organization: RPI Public Access Workstation Lab, Troy NY Lines: 20 In-reply-to: AXDRW%ALASKA.BITNET@cunyvm.cuny.edu's message of 26 May 89 04:48:05 GMT In article <16274@louie.udel.EDU> AXDRW%ALASKA.BITNET@cunyvm.cuny.edu (Don R. Withey) writes: > From: Matt Dillon Date: 23 May 89 05:41:52 GMT > Where I RemTask() I should DeleteTask()... since I used > CreateTask() to create it in the first place! > I wondered about that, and then tested it. You can RemTask() a task created with CreateTask(). You don't lose any memory (the stack and task structure goes away just like it should). Of course you can. DeleteTask() is *nothing* more than a call to RemTask(). But, for consistency's sake (and perhaps future compatibility?) you should use DeleteTask() if you used CreateTask(). Deven -- shadow@[128.113.10.2] Deven T. Corzine (518) 272-5847 shadow@[128.113.10.201] 2346 15th St. Pi-Rho America deven@rpitsmts.bitnet Troy, NY 12180-2306 <> "Simple things should be simple and complex things should be possible." - A.K.