]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
gui: Avoid busy loop if audiod is down.
authorAndre Noll <maan@systemlinux.org>
Sun, 6 Jun 2010 16:32:11 +0000 (18:32 +0200)
committerAndre Noll <maan@systemlinux.org>
Sun, 6 Jun 2010 16:32:11 +0000 (18:32 +0200)
The old approach to sleep one second is not sufficient and might still lead
to a busy loop as the call to sleep() might be interrupted by SIGCHILD.

So check the return value of sleep() and sleep again if it is not zero.


No differences found