[Vm-dev] Another NuScratch issue

tim Rowledge tim at rowledge.org
Mon Dec 14 05:03:01 UTC 2020



> On 2020-11-22, at 8:50 PM, Levente Uzonyi <leves at caesar.elte.hu> wrote:
> 
> On Sat, 21 Nov 2020, Eliot Miranda wrote:
> 
>> Hi Yoshiki,
>> 
>>   Levente replaced the select code with epoll code on Linux a fey weeks
>> ago.  Maybe there’s a regression.
> 
> That is indeed the culprit. epoll_wait expects the timeout in milliseconds but the value is in microseconds. Unfortunately, fixing that brings back the old increased cpu usage.

Do we have a decent solution for this issue? It *utterly* ruins NuScratch on a Pi and I'm trying to make a new release. Won't someone please think of the children?

tim
--
tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
Strange OpCodes: ETO: Emulate Toaster Oven




More information about the Vm-dev mailing list