• Dimitar Toshkov Zhekov's avatar
    Handle continuous G_IO_IN-s without any data · ce284096
    Dimitar Toshkov Zhekov yazdı
    Some versions of GLib under Linux continuously generate G_IO_IN-s
    without any data to read when using recusrive channel watch sources,
    causing 100% CPU load. This patch detects such a situation, and
    automatically switches the affected source from channel watch to
    50ms timeout.
    ce284096
spawn.c 44.2 KB