lib/waiter: handle -EINTR
authorJeremy Kerr <jk@ozlabs.org>
Mon, 19 Aug 2013 03:58:23 +0000 (11:58 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Mon, 19 Aug 2013 05:27:59 +0000 (13:27 +0800)
commitc7e26c27c7e029e6670dfebc8f27d9295e9fdeb7
tree2225119e0c21e6ddc96658b342dcacf4aed13258
parente52a8c61a640ab4fce0b4caaa796ae3e1c4ff8a3
lib/waiter: handle -EINTR

Now that we're handing non-fatal signals (i.e., SIGCHLD in the process
lib), we need to gracefully handle -EINTR from poll().

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
lib/waiter/waiter.c
ui/ncurses/nc-cui.c
ui/twin/main-generic.c