From 814e65334e26bc372bf9d51630e6ca69790482bb 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 c208090217..5d3f39bd08 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