Typed characters are mis-ordered when CPU usage is high
Takashi Yano
takashi.yano@nifty.ne.jp
Sun Feb 27 14:53:03 GMT 2022
On Sun, 27 Feb 2022 16:39:24 +0200
Orgad Shaneh wrote:
> Hi,
>
> I'm using cygwin runtime 3.3.4-2.
>
> When a foreground job is running, and the general CPU usage of the
> machine is high, characters are mis-ordered.
>
> To reproduce, I use this script to produce load:
> #!/bin/sh
>
> for i in $(seq $(nproc)); do
> while true; do :; done &
> done
> wait
>
> Run it in the background, then run a long foreground job, and while it
> is running, type something.
>
> Example:
> $ spin.sh &
> $ sleep 3 # While it is running, I quickly typed git status
> $ sigt tatus
>
> This reproduces on Windows Terminal and on cmd (Cygwin.bat)
Thanks for the report.
I think this is due to a bug which I recently fixed.
https://cygwin.com/pipermail/cygwin-patches/2022q1/011791.html
--
Takashi Yano <takashi.yano@nifty.ne.jp>
More information about the Cygwin
mailing list