summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPhil Garcia <phil@thinkedge.com>2018-03-25 23:14:00 -0700
committerJan Kotas <jkotas@microsoft.com>2018-03-25 23:14:00 -0700
commit0517102eec7bc99817456b5a9ca1eb987de4aa7a (patch)
tree79a3ec168bf7a9bac9d690f7928197984f7c23c8 /src
parent2c349980e1466b74f89be81ff94da8934c733935 (diff)
downloadcoreclr-0517102eec7bc99817456b5a9ca1eb987de4aa7a.tar.gz
coreclr-0517102eec7bc99817456b5a9ca1eb987de4aa7a.tar.bz2
coreclr-0517102eec7bc99817456b5a9ca1eb987de4aa7a.zip
Fixed a few typos (#17217)
Diffstat (limited to 'src')
-rw-r--r--src/mscorlib/src/System/Threading/Overlapped.cs2
-rw-r--r--src/mscorlib/src/System/Threading/SpinLock.cs2
-rw-r--r--src/mscorlib/src/System/Threading/WaitHandle.cs6
3 files changed, 5 insertions, 5 deletions
diff --git a/src/mscorlib/src/System/Threading/Overlapped.cs b/src/mscorlib/src/System/Threading/Overlapped.cs
index 8df01923d3..51df27f735 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 7334f1e58c..c23cd57be5 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 3c3b89d1cb..2de388dc49 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
========================================================================*/