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

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -