home *** CD-ROM | disk | FTP | other *** search
- Path: god.bel.alcatel.be!nlev00!barnhoorn
- From: barnhoorn@nlev00 ()
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Messages vs. Semaphores for external clocking
- Date: 11 Apr 1996 06:40:27 GMT
- Organization: Alcatel Bell
- Distribution: world
- Message-ID: <4ki9gr$bfl@btmpjg.god.bel.alcatel.be>
- 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>
- Reply-To: barnhoorn@nlev00 ()
- NNTP-Posting-Host: 138.203.178.61
- X-Newsreader: mxrn 6.18-10
-
-
- In article <4kghki$bog@serpens.rhein.de>, mlelstv@serpens.rhein.de (Michael van Elst) writes:
- >barnhoorn@nlev00 () writes:
- >
- >> Forbid();
- >> local_data=global_data;
- >> Permit();
- >
- >And now make the data some kilobytes in size and watch multitasking
- >degrade by several magnitudes.
- >
-
- .aaahh!!! When you are going to do more then just these few
- assembly-instructions between a Forbid()/Permit(), then you MUST
- use some other method, OF COURSE!!!
- In the original thread, only a specific timer-value would be passed.
-
- >
- >BTW, using semaphores is also a good way to ensure efficient operation
- >if AmigaOS ever supports multiple processors.
- >
-
- With this I agree.
-
- --
- ---------------------------------------------------------------------------
- Jaco Barnhoorn barnie@xs4all.nl
- Software Test Engineer barnhoorn%nlev00@btmv56.se.bel.alcatel.be
- Alcatel Telecom Systems
- Rijswijk, The Netherlands
- ---------------------------------------------------------------------------
-