libcvd ( usleep is depricated )