- Use C11 standard `timespec_get` instead of `clock_gettime` - Remove the unused `thread_sleep` function