summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorEugene Kosov <claprix@yandex.ru>2021-03-16 16:09:41 +0300
committerEugene Kosov <claprix@yandex.ru>2021-03-19 11:44:03 +0300
commit62e4aaa2407cc880618fb909c349c9c73174f84a (patch)
tree6fd57b0e99f07dd5d71b8540c417b0f40f9cec45 /cmake
parent40fd42f7f50ce9c85a4b277b3060f865e6852fd5 (diff)
downloadmariadb-git-62e4aaa2407cc880618fb909c349c9c73174f84a.tar.gz
cleanup: os_thread_sleep() -> std::this_thread::sleep_for()
std version has an advantage of a more convenient units implementation from std::chrono. Now it's no need to multipy/divide to bring anything to micro seconds.
Diffstat (limited to 'cmake')
-rw-r--r--cmake/os/WindowsCache.cmake1
1 files changed, 0 insertions, 1 deletions
diff --git a/cmake/os/WindowsCache.cmake b/cmake/os/WindowsCache.cmake
index 7203868a086..6ac518c2d38 100644
--- a/cmake/os/WindowsCache.cmake
+++ b/cmake/os/WindowsCache.cmake
@@ -317,7 +317,6 @@ SET(HAVE_BZLIB2_DECOMPRESS CACHE INTERNAL "")
SET(HAVE_BZLIB2_H CACHE INTERNAL "")
SET(HAVE_SNAPPY_H CACHE INTERNAL "")
SET(HAVE_SCHED_GETCPU CACHE INTERNAL "")
-SET(HAVE_NANOSLEEP CACHE INTERNAL "")
SET(HAVE_PTHREAD_THREADID_NP CACHE INTERNAL "")
SET(HAVE_SYS_GETTID CACHE INTERNAL "")
SET(HAVE_INTEGER_PTHREAD_SELF CACHE INTERNAL "")