c++ - Sleep for milliseconds -
i know posix sleep(x) function makes program sleep x seconds. there function make program sleep x milliseconds in c++?
note there no standard c api milliseconds, (on unix) have settle usleep, accepts microseconds:
#include <unistd.h> unsigned int microseconds; ... usleep(microseconds);
Comments
Post a Comment