Codechange: Use platform independent C++11 function for sleeping on a thread.

This commit is contained in:
Michael Lutz
2019-03-17 11:05:53 +01:00
parent 94c5269fa7
commit ae748166d0
12 changed files with 17 additions and 25 deletions

View File

@@ -273,14 +273,6 @@ bool GetClipboardContents(char *buffer, const char *last)
#endif
/* multi os compatible sleep function */
void CSleep(int milliseconds)
{
usleep(milliseconds * 1000);
}
#ifndef __APPLE__
uint GetCPUCoreCount()
{