pub fn timerfd_read(tfd_id: u32) -> Result<u64, SyscallError>Expand description
Read from a timerfd – returns number of expirations since last read.
Checks the timer against current time and accumulates expirations. If nonblock is set, returns EAGAIN immediately when no expirations. In blocking mode, busy-waits with scheduler yield until the timer fires (capped at 30s to prevent permanent hangs).