Path: utzoo!attcan!uunet!husc6!mailrus!purdue!decwrl!labrea!Portia!maverick From: maverick@Portia.Stanford.EDU (Steve Whitney) Newsgroups: comp.sys.atari.st Subject: Reentrant system calls Keywords: possibly stupid question / multitasking TOS Message-ID: <4186@Portia.Stanford.EDU> Date: 21 Nov 88 23:43:34 GMT Distribution: na Organization: Stanford University Lines: 23 I have read that GEM system calls are not reentrant so they can't be called from interrupts and no one can kludge up a multitasking GEM a la MT C Shell without practically rewriting them. What I'd like to know is 1) Is this true? 2) Would it be possible to rewrite them as reentrant (of course, you'd have to semaphore the BLiTTER since it isn't reentrant)? 3) Would it be possible to write a scheduler of some sort to sit at the TRAP #2 vector and figure out which process to run with some kind of Juggler like interface to switch the menu bars? Just food for thought. --Steve -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Steve Whitney Internet: maverick@portia.stanford.edu UUCP: ..!decwrl!portia.stanford.edu!maverick No room for a quote Bitnet: maverick%portia.stanford.edu@stanford GEnie: S.WHITNEY