home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / amiga / programm / 17759 < prev    next >
Encoding:
Text File  |  1992-12-23  |  1.3 KB  |  28 lines

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