home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- Path: sparky!uunet!mcsun!Germany.EU.net!mpifr-bonn.mpg.de!specklec.mpifr-bonn.mpg.de!mlelstv
- From: mlelstv@specklec.mpifr-bonn.mpg.de (Michael van Elst)
- Subject: Re: task communication and forbid()
- Message-ID: <1992Dec23.171431.25548@mpifr-bonn.mpg.de>
- Sender: news@mpifr-bonn.mpg.de
- Nntp-Posting-Host: specklec
- Organization: Max-Planck-Institut f"ur Radioastronomie
- References: <1992Dec18.204844.1796@samba.oit.unc.edu> <1992Dec22.210606.29689@samba.oit.unc.edu> <1992Dec23.134958.23831@cis.ohio-state.edu>
- Date: Wed, 23 Dec 1992 17:14:31 GMT
- Lines: 15
-
- In <1992Dec23.134958.23831@cis.ohio-state.edu> juncewic@turtle.cis.ohio-state.edu (thomas michael juncewicz) writes:
- >I thought the use of forbid() in effect 'turned off' multitasking. Wouldn't
- >it prevent a subtask from being executed, and therefore waiting for a signal
- >from that task would be in vain? Or am I misunderstanding the question
- >entirely? Please excuse my ignorance..
-
- The trick is that 'waiting' temporarily enables multitasking again until
- the signal is delivered and your task runs again.
-
- Regards,
- --
- Michael van Elst
- UUCP: universe!local-cluster!milky-way!sol!earth!uunet!unido!mpirbn!p554mve
- Internet: p554mve@mpirbn.mpifr-bonn.mpg.de
- "A potential Snark may lurk in every tree."
-