From d6583d68f630f3bd9a5626ab0fc24f2027ddd50a Mon Sep 17 00:00:00 2001 From: Lioncash Date: Wed, 21 Nov 2018 21:40:08 -0500 Subject: common/thread: Remove SleepCurrentThread() This is also unused and superceded by standard functionality. The standard library provides std::this_thread::sleep_for(), which provides a much more flexible interface, as different time units can be used with it. --- src/common/thread.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/common/thread.h') diff --git a/src/common/thread.h b/src/common/thread.h index c20809021..5d3f39bd0 100644 --- a/src/common/thread.h +++ b/src/common/thread.h @@ -83,7 +83,6 @@ private: std::size_t generation; // Incremented once each time the barrier is used }; -void SleepCurrentThread(int ms); void SwitchCurrentThread(); // On Linux, this is equal to sleep 1ms void SetCurrentThreadName(const char* name); -- cgit v1.2.3