Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!rutgers!texbell!uhnix1!uhnix2!uace0 From: uace0@uhnix2.uh.edu (USENET Administration) Newsgroups: comp.sys.atari.st Subject: Re: GEM multi-tasking interface (please!!) Message-ID: <853@uhnix2.uh.edu> Date: 7 Sep 89 06:35:23 GMT References: Reply-To: uace0@uhnix2.UUCP Organization: University of Houston Lines: 28 In article larserio@IFI.UIO.NO (LarsErikOsterud) writes: >Excuse me !!! >BIOS, XBIOS and GEMDOS can be called from within themselves !! >I do this in many of my TSR program (even call GEMDOS inside BIOS !!!!) > > Lars-Erik / ABK-BBS +47 2132659 / ____ ______ > Osterud / larserio@ifi.uio.no / /___ / >____________/ _______________________/ ____/ / EXCUSE ME!!!!!!!!!!!!!!! GEMDOS *is not* reentrant. If you are not using a semaphore on your GEMDOS calls, you *will* crash the system if it is called reentrantly. BIOS and XBIOS are only reentrant to 3 levels, so you are safe there, but you should still have some kind of 'counting' semaphore. - mike vederman Double Click Software -- ------------------------------------------------------------------------------ Double Click Me | Double Click Software | P.O. Box 741206 | Houston, Tx, 77274 ------------------------------------------------------------------------------ Support BBS: (713)944-0108 | SHADOW | DC FORMATTER | DC UTILITIES | and others