From d69c40e7894458be1b1c95571622d49e094df3b3 Mon Sep 17 00:00:00 2001 From: Robin Jones Date: Sun, 13 Mar 2022 01:50:49 +0000 Subject: [PATCH] Update Thread.cs Fix warning for Thread.Sleep --- nanoFramework.CoreLibrary/System/Threading/Thread.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nanoFramework.CoreLibrary/System/Threading/Thread.cs b/nanoFramework.CoreLibrary/System/Threading/Thread.cs index 21a53153..adeb76fa 100644 --- a/nanoFramework.CoreLibrary/System/Threading/Thread.cs +++ b/nanoFramework.CoreLibrary/System/Threading/Thread.cs @@ -156,7 +156,7 @@ public static void Sleep(TimeSpan timeout) /// A 32-bit signed integer that defines how long a thread is to wait. /// /// The method is useful for implementing locks. Classes in the .NET Framework, such as use this method internally. essentially puts the processor into a very tight loop, with the loop count specified by the parameter. The duration of the wait therefore depends on the speed of the processor. - /// Contrast this with the method. A thread that calls yields the rest of its current slice of processor time, even if the specified interval is zero. Specifying a non-zero interval for removes the thread from consideration by the thread scheduler until the time interval has elapsed. + /// Contrast this with the method. A thread that calls yields the rest of its current slice of processor time, even if the specified interval is zero. Specifying a non-zero interval for removes the thread from consideration by the thread scheduler until the time interval has elapsed. /// [MethodImpl(MethodImplOptions.InternalCall)] public static extern void SpinWait(int iterations);