]> git.ipfire.org Git - thirdparty/freeswitch.git/commit
[mod_timerfd] Fixed - continue timer loop after receiving a SIGSTOP
authorAron Podrigal <aronp@guaranteedplus.com>
Thu, 16 Jan 2025 16:13:31 +0000 (10:13 -0600)
committerGitHub <noreply@github.com>
Thu, 16 Jan 2025 16:13:31 +0000 (19:13 +0300)
commit96de8fd37734599d997bcb9fdd2b076d9cfb026e
tree468f51bb2bcfe1c7a0a056734c6c50d1420faa34
parent55d8f3ff97fcdf28f800704fe9b37a3f5c1a91a2
[mod_timerfd] Fixed - continue timer loop after receiving a SIGSTOP

When taking a snapshot of a machine which pauses the process, mod_timerfd exits and FreeSWITCH, causing all channels to wait indefinitely.

Check `errno == EINTR` and continue the timer loop.
src/mod/timers/mod_timerfd/mod_timerfd.c