summaryrefslogtreecommitdiff
path: root/tests/dlt-test-preregister-context.c
diff options
context:
space:
mode:
authorBui Nguyen Quoc Thanh <thanh.buinguyenquoc@vn.bosch.com>2021-02-26 14:07:07 +0700
committerSaya Sugiura <39760799+ssugiura@users.noreply.github.com>2021-06-30 10:54:59 +0900
commitec6dbfceb71bf11c944fa061064a7625e0240ef3 (patch)
treeafe370b1b92502d3cee1bb8dee05f22b8812a089 /tests/dlt-test-preregister-context.c
parent5e188475628635f3254484ed506d8abba096d469 (diff)
downloadDLT-daemon-ec6dbfceb71bf11c944fa061064a7625e0240ef3.tar.gz
daemon: Improve signal handler for timers
In the initial implementation of timer_thread, the signals SIGUSR1 is blocked and only checked via sigpending. There will be an issue if the interval of timers are quite long. It could cause the main thread waits for a long time in case of termination gratefully. Fix: let the timer_thread be interrupted by signal SIGUSR1 and handle it properly then. Signed-off-by: Bui Nguyen Quoc Thanh <thanh.buinguyenquoc@vn.bosch.com>
Diffstat (limited to 'tests/dlt-test-preregister-context.c')
0 files changed, 0 insertions, 0 deletions