🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.atari.st
Article #3753

Re: GEM multi-tasking interface (please!!)

#3753
From: USENET Administration
Date: Thu, 07 Sep 1989 06:35
28 lines
1550 bytes
In article <CMM.0.88.621125609.larserio@kyrre.uio.no> 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
Technical Details
Message-ID: <853@uhnix2.uh.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!rutgers!texbell!uhnix1!uhnix2!uace0
References: <CMM.0.88.621125609.larserio@kyrre.uio.no>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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: <CMM.0.88.621125609.larserio@kyrre.uio.no>
Reply-To: uace0@uhnix2.UUCP
Organization: University of Houston
Lines: 28