Path: csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Paul Rubin Newsgroups: comp.lang.forth Subject: Re: Why does the location of PAD move around? Date: Fri, 07 Apr 2017 20:37:18 -0700 Organization: A noiseless patient Spider Lines: 8 Message-ID: <87d1cna7td.fsf@nightsong.com> References: <20170401210719.376d37f4@_> <1fOdnVjc191fXX3FnZ2dnUU7-YfNnZ2d@supernews.com> <87o9we5mc8.fsf@nightsong.com> <0719e78c-1196-4465-b0a6-a604f3f73b96@googlegroups.com> <87h9265los.fsf@nightsong.com> <87vaqi9vn8.fsf@nightsong.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="b7b190d745a95b940f4e3e0a3c90c53c"; logging-data="11042"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX187EhOtn1Wldvvckm6J0msX" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:CBd4f0M7ozDMfw99RlMubYv8koE= sha1:cM0pLp1IXE1dZhoK/11yyvYFeic= Xref: csiph.com comp.lang.forth:56845 "HAA" writes: > A round-robin with no active tasks, or a Linux/Windows with no event > to drive them, means burning CPU. You're only option in that case is > to wind down power consumption. On Linux you'd typically have a select or epoll loop, plus a queue of scheduled future timeouts that you'd use to create timeouts for select or epoll.