Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!lll-winken!elroy.jpl.nasa.gov!swrinde!zaphod.mps.ohio-state.edu!wuarchive!m.cs.uiuc.edu!schwager From: schwager@m.cs.uiuc.edu (Michael Schwager) Newsgroups: comp.sys.amiga.programmer Subject: Re: General questions regarding Tasks Keywords: tasks help questions seeking Message-ID: <1991May24.192517.9935@m.cs.uiuc.edu> Date: 24 May 91 19:25:17 GMT References: <1991May24.160440.374@m.cs.uiuc.edu> Organization: University of Illinois, Dept. of Comp. Sci., Urbana, IL Lines: 26 schwager@m.cs.uiuc.edu (Michael Schwager) writes: Oops I made a mistake in my pseudo-code. My task really looks like this: func3 () /* It's a task! */ { endless_loop: /* depends on the parent task to annihilate this task when the user hits a gadget */ { blah; func1 (number); /* Oooo... can I do this? Say func1() only has automagic variables. */ Forbid (); DrawImage (in_some_Window_declared_globally); blah; Permit (); } } ************ file 1 *********** Also, I RTFRKM's and know about the problems with calling DOS functions; I shan't do that! Thanks for all the replies so far; I'm beginning to understand these blasted things.... -Mike