[hal patch] Fix 100% CPU spinning and input device breaking in input addon

Danny Kukawka danny.kukawka at web.de
Mon Apr 21 02:42:33 PDT 2008


On Montag, 21. April 2008, Martin Pitt wrote:
> Hi all,
>
> Jon Oberheide tracked down a file descriptor mishandling bug in
> addon-input (https://launchpad.net/bugs/211343). This caused the addon
> to use 100% CPU on a lot of people's boxes, since it polled invalid
> file descriptors from disappeared devices. The patch makes sure that
> in that case the callback is called and that returns false (and thus
> removes the FD from the watched set).

Already commited.

Danny


More information about the hal mailing list