aboutsummaryrefslogtreecommitdiff
path: root/libdecnumber
diff options
context:
space:
mode:
authorAlex Bennée <alex.bennee@linaro.org>2024-09-16 09:53:56 +0100
committerAlex Bennée <alex.bennee@linaro.org>2024-09-19 15:58:01 +0100
commitbc02be4508d8753d1f6071b77d10f4661587df6f (patch)
tree15d263fa47456abe36f0c4bc1722d4309ae2c870 /libdecnumber
parentecbcc9ead2f86a80e6d1292c10f733b4ddd25256 (diff)
util/timer: avoid deadlock when shutting down
When we shut down a guest we disable the timers. However this can cause deadlock if the guest has queued some async work that is trying to advance system time and spins forever trying to wind time forward. Pay attention to the return code and bail early if we can't wind time forward. Reported-by: Elisha Hollander <just4now666666@gmail.com> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Message-Id: <20240916085400.1046925-15-alex.bennee@linaro.org>
Diffstat (limited to 'libdecnumber')
0 files changed, 0 insertions, 0 deletions