Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!cmcl2!rutgers!ucla-cs!zen!ucbvax!CORY.BERKELEY.EDU!dillon From: dillon@CORY.BERKELEY.EDU (Matt Dillon) Newsgroups: comp.sys.amiga Subject: Re: May one AllocMem during a SoftInt? Message-ID: <8709130200.AA05176@cory.Berkeley.EDU> Date: Sat, 12-Sep-87 22:00:30 EDT Article-I.D.: cory.8709130200.AA05176 Posted: Sat Sep 12 22:00:30 1987 Date-Received: Sun, 13-Sep-87 10:45:57 EDT Sender: daemon@ucbvax.BERKELEY.EDU Lines: 17 You can do anything within a Software Interrupt as long as it doesn't confuse what is running normally. For example, if you are in the middle of a graphics library call, get a software interrupt, and your software interrupt makes another graphics call (both calls locking layers), your machine freezes. Along the same lines it probably isn't a good idea to call AllocMem() from a software interrupt if THAT PARTICULAR TASK is already in the middle of an AllocMem(). A Software interrupt is simply a context within the task... other tasks still run. Needless to say, you cannot call AllocMem() from a hardware interrupt. -Matt