On Thu Feb 20 21:43:51 2025 +0000, William Horvath wrote:
Ah, I tried this before but somehow missed the fact that the `timespec` struct needs to be `static`. That looks much cleaner now.
Ah no, that's IMO a bit ugly. I meant rather something like that:
``` static struct timespec *get_next_timeout_ts( struct timespec *ts ) { /* ... */ if (next_timeout == -1) return NULL; return ts; } ```