rts: cleanup timerfd ticker after fork
While investigating #24672 (closed) I've noticed that after a fork
(forkProcess
), we call initTicker
again. When we use the timerfd
implementation, we should:
- close the
timerfd
file descriptor - close the file descriptors used for the pipe to communicate with the timer thread (
pipefds
)