From: Frank Bolero <421+frankbolero@users.noreply.github.com> Date: Sat, 19 Sep 2020 11:16:34 +0000 (+0200) Subject: SemaphoreSlim spelling corrections (#42451) X-Git-Tag: submit/tizen/20210909.063632~5415 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dacd67caed1704bacb6d2b91c0ccf1dc47cbafaa;p=platform%2Fupstream%2Fdotnet%2Fruntime.git SemaphoreSlim spelling corrections (#42451) * Fixes comment spelling errors in SemaphoreSlim.cs Words "increments" and "exceeded" where incorrectly spelled. * Text change for clarity Changed maxi to maximum to align with the rest of the comments and variables in the file. --- diff --git a/src/libraries/System.Private.CoreLib/src/System/Threading/SemaphoreSlim.cs b/src/libraries/System.Private.CoreLib/src/System/Threading/SemaphoreSlim.cs index 7b13c93..3d4a05c 100644 --- a/src/libraries/System.Private.CoreLib/src/System/Threading/SemaphoreSlim.cs +++ b/src/libraries/System.Private.CoreLib/src/System/Threading/SemaphoreSlim.cs @@ -27,13 +27,13 @@ namespace System.Threading { #region Private Fields - // The semaphore count, initialized in the constructor to the initial value, every release call incremetns it + // The semaphore count, initialized in the constructor to the initial value, every release call increments it // and every wait call decrements it as long as its value is positive otherwise the wait will block. // Its value must be between the maximum semaphore value and zero private volatile int m_currentCount; // The maximum semaphore value, it is initialized to Int.MaxValue if the client didn't specify it. it is used - // to check if the count excceeded the maxi value or not. + // to check if the count exceeded the maximum value or not. private readonly int m_maxCount; // The number of synchronously waiting threads, it is set to zero in the constructor and increments before blocking the