summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
========================================================================*/