How to use the sleep method in C#?
Answers
Answered by
0
#include <Windows.h>
else
#include < unistd.h>
end if
int main()
{
pollingDelay = 100
sleep:
if def _WIN32
Sleep(pollingDelay);
else
usleep(pollingDelay*1000); /* sleep for 100 milliSeconds */
endif
do stuff again
return 0;
}
Similar questions
Physics,
7 months ago
Math,
7 months ago
Computer Science,
1 year ago
English,
1 year ago
Math,
1 year ago