home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / amiga / programm / 12443 < prev    next >
Encoding:
Internet Message Format  |  1992-08-18  |  1.5 KB

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