qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] main-loop.c: About Select handling


From: Furukawa, Eiji
Subject: [Qemu-devel] main-loop.c: About Select handling
Date: Wed, 28 Nov 2012 03:08:24 +0000

About a source of qemu-1.2.0/main-loop.c
The select handling of os_host_main_loop_wait function
I do not seem to do Exit by interrupts such as SIGUSR1
Will not it be necessary to make modifications?

Before
 LineNumber:308   ret = select(nfds + 1, &rfds, &wfds, &xfds, tvarg);

After(Example)
    do {
        ret = select(nfds + 1, &rfds, &wfds, &xfds, tvarg);
    } while(ret == -1 && (errno == EINTR || errno == EAGAIN))


--
E.Furukawa



reply via email to

[Prev in Thread] Current Thread [Next in Thread]