home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!stanford.edu!rutgers!cbmvax!chrisg
- From: chrisg@cbmvax.commodore.com (Chris Green)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Reentrancy problem - Help Needed
- Message-ID: <34468@cbmvax.commodore.com>
- Date: 18 Aug 92 19:57:49 GMT
- References: <199208181030.AAyrsa.ifi.uio.no13575@yrsa.ifi.uio.no>
- Reply-To: chrisg@cbmvax.commodore.com (Chris Green)
- Organization: Commodore, West Chester, PA
- Lines: 17
-
- In article <199208181030.AAyrsa.ifi.uio.no13575@yrsa.ifi.uio.no> jkr@IFI.UIO.NO (Johan Kristian Rosenvold) writes:
- >I'm using an interrupt based colour-cycler in my program. It's loosely
- >based on Dan Silvia's CYCVB from the RKMs. (Modified so that the cycling
- > loops don't call GETRGB4 + some more stuff). The only external routine
- >my VB-interrupt routine calls is LoadRGB4().
- >
- LoadRGB4 inside of an interrupt is not safe. LoadRGB4 attempts
- to get a semaphore whihc protects the intuition copper lists. ObtainSemaphore
- inside of an interrupt will hang.
- --
- *-------------------------------------------*---------------------------*
- |Chris Green - Graphics Software Engineer - chrisg@commodore.COM f
- | Commodore-Amiga - uunet!cbmvax!chrisg n
- |My opinions are my own, and do not - icantforgettheimpression o
- |necessarily represent those of my employer.- youmadeyouleftaholeinthe r
- |"A screaming comes across the sky..." - backofmyhead d
- *-------------------------------------------*---------------------------*
-