[Gambas-user] Why 100% CPU load on file OPEN with WATCH if data comes from a pipe ?

T Lee Davidson t.lee.davidson at gmail.com
Wed Feb 19 02:04:03 CET 2020


On 2/18/20 6:10 PM, Peter Bauer wrote:
> Gambas 3.14, When piping like this: (program listing is on the end !)
>  >echo ABC | ./input_reader.gambas     /* pipe just 3 chars
> I see permanent 100% CPU load(with top) on Ubuntu 18.04.01.
> When using from terminal like this, there is no high CPU load:
>  >$./input_reader.gambas
>  >ABC    /* type some text on the terminal

I get consistently less than 1% CPU on openSUSE Leap 15.1.


-- 
Lee


More information about the User mailing list