Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!jarthur!elroy.jpl.nasa.gov!ncar!gatech!udel!ee.udel.edu From: new@ee.udel.edu (Darren New) Newsgroups: comp.sys.amiga.misc Subject: Re: True Multitasking Message-ID: <42154@nigel.ee.udel.edu> Date: 19 Jan 91 03:24:26 GMT References: <42149@nigel.ee.udel.edu> <15750@sdcc6.ucsd.edu> Sender: usenet@ee.udel.edu Organization: University of Delaware Lines: 17 Nntp-Posting-Host: snow-white.ee.udel.edu In article <15750@sdcc6.ucsd.edu> djohnson@beowulf.ucsd.edu (Darin Johnson) writes: >In article <42149@nigel.ee.udel.edu> new@ee.udel.edu (Darren New) writes: >>Please tell me the difference between coroutines and lightweight >>processes. >Lightweight processes (LWP) and co-routines (CR) have much in common, >and some people blur the definition. Usually however, LWP's have the >ability to context switch anywhere, like any process. CR's need only >change context at IO, semaphores, and other special calls. So you mean that the Amiga is full of LWPs and the Mac is full of CRs? :-) Correct me if I'm wrong, but I think you are saying that CRs are non-preemptive. -- Darren -- --- Darren New --- Grad Student --- CIS --- Univ. of Delaware --- ----- Network Protocols, Graphics, Programming Languages, Formal Description Techniques (esp. Estelle), Coffee, Amigas ----- =+=+=+ Let GROPE be an N-tuple where ... +=+=+=