the new patch is attached...
On Sun, Feb 17, 2013 at 6:32 PM, Orr Dvory <gid...@gmail.com> wrote: > Yes it would :) > Should I do that? or that you already fixed the issue? > > > On Sun, Feb 17, 2013 at 12:06 AM, Richard Henderson <r...@twiddle.net>wrote: > >> On 2013-02-15 03:12, Orr Dvory wrote: >> >>> when debugging with qemu(user mode), qemu waits in infinite loop to read >>> a signal from gdb (when it waits on breakpoint for example). >>> I added sleeps to reduce the cpu usage from 100% to about ~0%. >>> >>> >> Wouldn't it be better to toggle the O_NONBLOCK state of the file >> descriptor across this loop? >> >> >> r~ >> > >
qemu-busy-wait.patch
Description: Binary data