Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.csd.uwm.edu!cs.utexas.edu!uunet!wuarchive!texbell!sugar!ficc!peter From: peter@ficc.uu.net (Peter da Silva) Newsgroups: comp.lang.c Subject: Re: Coroutines in C Message-ID: <5713@ficc.uu.net> Date: 16 Aug 89 14:07:17 GMT References: <5663@ficc.uu.net> <14281@haddock.ima.isc.com> <563@augean.OZ> <10747@smoke.BRL.MIL> Organization: Xenix Support, FICC Lines: 19 In article <10747@smoke.BRL.MIL>, gwyn@smoke.BRL.MIL (Doug Gwyn) writes: > In article <5695@ficc.uu.net> peter@ficc.uu.net (Peter da Silva) writes: > >> What sort of problems do you want coroutines for? [actually someone else wrote that] > >Mainly for the sort of event-loop programming endemic to windowing systems. > Ah, you raise an interesting point. EVENT LOOPS SUCK. #pragma begin arthur-dent-voice Yes, well that's the point isn't it? #pragma end arthur-dent-voice Going to threads is a moderately nice way to work around the problem. -- Peter da Silva, Xenix Support, Ferranti International Controls Corporation. Business: peter@ficc.uu.net, +1 713 274 5180. | "The sentence I am now Personal: peter@sugar.hackercorp.com. `-_-' | writing is the sentence Quote: Have you hugged your wolf today? 'U` | you are now reading"