From 5e4d6cab00cb29cd088ab7b62ab13aff103b64cb Mon Sep 17 00:00:00 2001 From: onefang Date: Sun, 19 May 2019 21:24:15 +1000 Subject: Dump OpenSim 0.9.0.1 into it's own branch. --- ThirdParty/SmartThreadPool/EventWaitHandleFactory.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ThirdParty/SmartThreadPool/EventWaitHandleFactory.cs') diff --git a/ThirdParty/SmartThreadPool/EventWaitHandleFactory.cs b/ThirdParty/SmartThreadPool/EventWaitHandleFactory.cs index 3c9c849..ece24de 100644 --- a/ThirdParty/SmartThreadPool/EventWaitHandleFactory.cs +++ b/ThirdParty/SmartThreadPool/EventWaitHandleFactory.cs @@ -10,7 +10,7 @@ namespace Amib.Threading.Internal /// /// EventWaitHandleFactory class. /// This is a static class that creates AutoResetEvent and ManualResetEvent objects. - /// In WindowCE the WaitForMultipleObjects API fails to use the Handle property + /// In WindowCE the WaitForMultipleObjects API fails to use the Handle property /// of XxxResetEvent. It can use only handles that were created by the CreateEvent API. /// Consequently this class creates the needed XxxResetEvent and replaces the handle if /// it's a WindowsCE OS. @@ -57,7 +57,7 @@ namespace Amib.Threading.Internal /// The initial state of the event private static void ReplaceEventHandle(WaitHandle waitHandle, bool manualReset, bool initialState) { - // Store the old handle + // Store the old handle IntPtr oldHandle = waitHandle.Handle; // Create a new event @@ -67,7 +67,7 @@ namespace Amib.Threading.Internal waitHandle.Handle = newHandle; // Close the old event - CloseHandle (oldHandle); + CloseHandle (oldHandle); } [DllImport("coredll.dll", SetLastError = true)] -- cgit v1.1