From: Phil Garcia Date: Mon, 26 Mar 2018 06:14:00 +0000 (-0700) Subject: Fixed a few typos (#17217) X-Git-Tag: accepted/tizen/unified/20190422.045933~2508 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0517102eec7bc99817456b5a9ca1eb987de4aa7a;p=platform%2Fupstream%2Fcoreclr.git Fixed a few typos (#17217) --- diff --git a/src/mscorlib/src/System/Threading/Overlapped.cs b/src/mscorlib/src/System/Threading/Overlapped.cs index 8df0192..51df27f 100644 --- a/src/mscorlib/src/System/Threading/Overlapped.cs +++ b/src/mscorlib/src/System/Threading/Overlapped.cs @@ -95,7 +95,7 @@ namespace System.Threading if (helper == null || helper._executionContext == null || helper._executionContext.IsDefault) { - // We got here because of UnsafePack (or) Pack with EC flow supressed + // We got here because of UnsafePack (or) Pack with EC flow suppressed IOCompletionCallback callback = overlapped.UserCallback; callback(errorCode, numBytes, pOVERLAP); } diff --git a/src/mscorlib/src/System/Threading/SpinLock.cs b/src/mscorlib/src/System/Threading/SpinLock.cs index 7334f1e..c23cd57 100644 --- a/src/mscorlib/src/System/Threading/SpinLock.cs +++ b/src/mscorlib/src/System/Threading/SpinLock.cs @@ -337,7 +337,7 @@ namespace System.Threading // Did not acquire lock as owned and timeout is 0 so fail fast return; } - else //failed to acquire the lock,then try to update the waiters. If the waiters count reached the maximum, jsut break the loop to avoid overflow + else //failed to acquire the lock, then try to update the waiters. If the waiters count reached the maximum, just break the loop to avoid overflow { if ((observedOwner & WAITERS_MASK) != MAXIMUM_WAITERS) { diff --git a/src/mscorlib/src/System/Threading/WaitHandle.cs b/src/mscorlib/src/System/Threading/WaitHandle.cs index 3c3b89d..2de388d 100644 --- a/src/mscorlib/src/System/Threading/WaitHandle.cs +++ b/src/mscorlib/src/System/Threading/WaitHandle.cs @@ -31,7 +31,7 @@ namespace System.Threading private const int MAX_WAITHANDLES = 64; #pragma warning disable 414 // Field is not used from managed. - private IntPtr waitHandle; // !!! DO NOT MOVE THIS FIELD. (See defn of WAITHANDLEREF in object.h - has hardcoded access to this field.) + private IntPtr waitHandle; // !!! DO NOT MOVE THIS FIELD. (See defn of WAITHANDLEREF in object.h - has hard-coded access to this field.) #pragma warning restore 414 internal volatile SafeWaitHandle safeWaitHandle; @@ -228,7 +228,7 @@ namespace System.Threading ** Waits for signal from all the objects. ** timeout indicates how long to wait before the method returns. ** This method will return either when all the object have been pulsed - ** or timeout milliseonds have elapsed. + ** or timeout milliseconds have elapsed. ** If exitContext is true then the synchronization domain for the context ** (if in a synchronized context) is exited before the wait and reacquired ========================================================================*/ @@ -329,7 +329,7 @@ namespace System.Threading ** Waits for notification from any of the objects. ** timeout indicates how long to wait before the method returns. ** This method will return either when either one of the object have been - ** signalled or timeout milliseonds have elapsed. + ** signaled or timeout milliseconds have elapsed. ** If exitContext is true then the synchronization domain for the context ** (if in a synchronized context) is exited before the wait and reacquired ========================================================================*/