xbmc/xbmc — pull request #1309 by huceke (2012-08-20 17:16:00+00:00)
Title: [peripherals/udev] fixed do not close fd we got from udev and a race condition

StopThread doesn't wait. On fast machines we do not see the race, on slow machines it can be that the tread is still running while we already unref a object from udev.