[Gambas-user] Fwd: 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 18:16:58 CET 2020


On 2/19/20 1:34 AM, Peter Bauer wrote:
> Hello,
> 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

It is GTK that is causing that. The program works fine with Qt5.


-- 
Lee


More information about the User mailing list