home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 7177 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.6 KB

  1. Path: god.bel.alcatel.be!nlev00!barnhoorn
  2. From: barnhoorn@nlev00 ()
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Messages vs. Semaphores for external clocking
  5. Date: 11 Apr 1996 06:40:27 GMT
  6. Organization: Alcatel Bell
  7. Distribution: world
  8. Message-ID: <4ki9gr$bfl@btmpjg.god.bel.alcatel.be>
  9. References: <4ju349$r1e@sparky.navsea.navy.mil> <4jvrqs$hk0@btmpjg.god.bel.alcatel.be> <heinz.17rm@hwg.muc.de> <4kfmes$lle@btmpjg.god.bel.alcatel.be> <4kfuhb$ahh@serpens.rhein.de> <4kg2qq$58l@btmpjg.god.bel.alcatel.be> <4kghki$bog@serpens.rhein.de>
  10. Reply-To: barnhoorn@nlev00 ()
  11. NNTP-Posting-Host: 138.203.178.61
  12. X-Newsreader: mxrn 6.18-10
  13.  
  14.  
  15. In article <4kghki$bog@serpens.rhein.de>, mlelstv@serpens.rhein.de (Michael van Elst) writes:
  16. >barnhoorn@nlev00 () writes:
  17. >
  18. >>        Forbid();
  19. >>        local_data=global_data;
  20. >>        Permit();
  21. >
  22. >And now make the data some kilobytes in size and watch multitasking
  23. >degrade by several magnitudes.
  24. >
  25.  
  26. .aaahh!!! When you are going to do more then just these few
  27. assembly-instructions between a Forbid()/Permit(), then you MUST
  28. use some other method, OF COURSE!!!
  29. In the original thread, only a specific timer-value would be passed.
  30.  
  31. >
  32. >BTW, using semaphores is also a good way to ensure efficient operation
  33. >if AmigaOS ever supports multiple processors.
  34. >
  35.  
  36. With this I agree.
  37.  
  38. -- 
  39. ---------------------------------------------------------------------------
  40. Jaco Barnhoorn               barnie@xs4all.nl
  41. Software Test Engineer       barnhoorn%nlev00@btmv56.se.bel.alcatel.be
  42. Alcatel Telecom Systems
  43. Rijswijk, The Netherlands
  44. ---------------------------------------------------------------------------
  45.