Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!bbn!csd4.milw.wisc.edu!uxc!uxc.cso.uiuc.edu!m.cs.uiuc.edu!hummel From: hummel@m.cs.uiuc.edu Newsgroups: comp.sys.amiga Subject: re: slight bug in tasks ... Message-ID: <7200105@m.cs.uiuc.edu> Date: 27 May 89 02:36:00 GMT References: <16274@louie.udel.EDU> Lines: 19 Nf-ID: #R:louie.udel.EDU:16274:m.cs.uiuc.edu:7200105:000:823 Nf-From: m.cs.uiuc.edu!hummel May 26 21:36:00 1989 Written 11:48 pm May 25, 1989 by AXDRW%ALASKA.BIT@cunyvm.cuny.edu: > > /* ---------- "re: slight bug in tasks ..." ---------- */ > > From: Matt Dillon [ ... ] > > 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). > Don There is also a potential race condition on the variable WowItWorked. < Lionel ---------- Lionel Hummel 404 W. High St. #6, Urbana, IL 61801 University of Illinois, Urbana-Champaign [H] (217)344-5303 [W] (217)333-7408 hummel@cs.uiuc.edu {pur-ee,uunet}!uiucdcs!hummel BIX: lhummel