posix/thread: use the monotonic clock for CV