POSIX: use pthread-based timers