aboutsummaryrefslogtreecommitdiffstats
path: root/Context.py
diff options
context:
space:
mode:
authorLaxmi Devi <Laxmi.Devi@in.bosch.com>2018-05-24 15:04:23 +0530
committerDavid Robillard <d@drobilla.net>2018-09-20 09:27:49 +0200
commitff06bedf007a48407b728e9d35dc4bd2daad8314 (patch)
treedbd549d12a1a338d55ccfe4d104a9782d0a18965 /Context.py
parent43dd0b6fd560f97e2584364593c5e44f2262c281 (diff)
downloadjalv-fix-ctrl-c-hang.tar.gz
jalv-fix-ctrl-c-hang.tar.bz2
jalv-fix-ctrl-c-hang.zip
Use sigaction() instead of signal()fix-ctrl-c-hang
Issue is that even after ctrl+c, fgets is waiting for a newline. See signal(7) for details. We have to either use siginterrupt() together with signal(), or use sigaction() instead of signal() for registering the signal handler, in order to disable restarting a read() system call after a signal. Signed-off-by: Laxmi Devi <Laxmi.Devi@in.bosch.com> Signed-off-by: Timo Wischer <twischer@de.adit-jv.com>
Diffstat (limited to 'Context.py')
0 files changed, 0 insertions, 0 deletions