Path: csiph.com!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Arno Welzel Newsgroups: comp.lang.javascript Subject: Re: boolean while loops "how to stop" and "make room for textout to textarea" Date: Sun, 1 Nov 2020 21:07:57 +0100 Lines: 35 Message-ID: References: <6d2d33cc-9b19-469c-a25c-d8d2f862f0aco@googlegroups.com> <3r7tpfhth4n7toe3figrnvl9jr3ottf580@4ax.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: individual.net tI+x9Oq7x0RaC8GnqI423wgBRIV2EVWV9ZwORfzDRt+ai0zEQo Cancel-Lock: sha1:wIZyuvtNC/iAfd79Dx8rjL6q9QE= In-Reply-To: Xref: csiph.com comp.lang.javascript:39091 John G Harris: > On Sun, 1 Nov 2020 14:02:39 +0100, Arno Welzel > wrote: > >> John G Harris: >> >>> On Sat, 31 Oct 2020 11:14:46 -0700 (PDT), Jonas Thörnvall >>> wrote: >>> >>> >>>> That is basicly what i want to know, why aren't boolean while loops run in separate threads? >>> >>> So you want the HTML standard to be updated to say that the document >>> MUST be displayed by a multi-core processor running an operating >>> system that allows applications to demand more than one core. >> >> Threads in software have nothing to do with CPU cores. > > A software thread is not guaranteed to be activated immediately an > event appears in the Windows event queue. The thread needs to be using > separate hardware, whether part of the processor or all of it, for it > to be immediate. Again: threads in software have nothing to do with CPU cores. Even a single core single threaded CPU you run multithreaded software. The only difference is the lower performance due to the context switches neccessary for the CPU to handle different threads and the fact that multiple cores can run more multiple threads at the same time. -- Arno Welzel https://arnowelzel.de