home *** CD-ROM | disk | FTP | other *** search
- Path: comma.rhein.de!serpens!not-for-mail
- From: mlelstv@serpens.rhein.de (Michael van Elst)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Messages vs. Semaphores for external clocking
- Date: 3 Apr 1996 22:24:48 +0200
- Organization: dis-
- Message-ID: <4jumqg$ss7@serpens.rhein.de>
- References: <4ju349$r1e@sparky.navsea.navy.mil>
- NNTP-Posting-Host: serpens.rhein.de
-
- matuli_a@marlin.navsea.navy.mil (Alex Matulich 03T1 602-6691) writes:
-
- >The time units number will be stored either in a Message or Semaphore.
- >Then my primary application, running at the same time, will be able to
- >access this time number any time it needs to.
-
- This depends on when the primary application needs the data, how fast
- it has to get access and wether the data aquisition task is allowed
- to be blocked.
-
- For example, if the data aquisition tasks must not be blocked and
- the primary task can handle some delay then you would use N messages.
- Whenever the data aquisition fills a message or the maximum delay
- is reached you send the message and use the next one. The primary
- task can then use the message without blocking the data aquisition.
-
- Regards,
- --
- Michael van Elst
-
- Internet: mlelstv@serpens.rhein.de
- "A potential Snark may lurk in every tree."
-