diff options
author | Melanie Thielker | 2017-01-05 19:07:37 +0000 |
---|---|---|
committer | Melanie Thielker | 2017-01-05 19:07:37 +0000 |
commit | b16abc8166c29585cb76cc55c3bdd76e5833cb4f (patch) | |
tree | 6a34f465a74b7a3a6dc00a3d7aa8dcc25ac3e3a5 /ThirdParty/SmartThreadPool/EventWaitHandleFactory.cs | |
parent | Make it possible to disable the bakes module in the way it is described in co... (diff) | |
download | opensim-SC_OLD-b16abc8166c29585cb76cc55c3bdd76e5833cb4f.zip opensim-SC_OLD-b16abc8166c29585cb76cc55c3bdd76e5833cb4f.tar.gz opensim-SC_OLD-b16abc8166c29585cb76cc55c3bdd76e5833cb4f.tar.bz2 opensim-SC_OLD-b16abc8166c29585cb76cc55c3bdd76e5833cb4f.tar.xz |
Massive tab and trailing space cleanup
Diffstat (limited to '')
-rw-r--r-- | ThirdParty/SmartThreadPool/EventWaitHandleFactory.cs | 6 |
1 files changed, 3 insertions, 3 deletions
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 | |||
10 | /// <summary> | 10 | /// <summary> |
11 | /// EventWaitHandleFactory class. | 11 | /// EventWaitHandleFactory class. |
12 | /// This is a static class that creates AutoResetEvent and ManualResetEvent objects. | 12 | /// This is a static class that creates AutoResetEvent and ManualResetEvent objects. |
13 | /// In WindowCE the WaitForMultipleObjects API fails to use the Handle property | 13 | /// In WindowCE the WaitForMultipleObjects API fails to use the Handle property |
14 | /// of XxxResetEvent. It can use only handles that were created by the CreateEvent API. | 14 | /// of XxxResetEvent. It can use only handles that were created by the CreateEvent API. |
15 | /// Consequently this class creates the needed XxxResetEvent and replaces the handle if | 15 | /// Consequently this class creates the needed XxxResetEvent and replaces the handle if |
16 | /// it's a WindowsCE OS. | 16 | /// it's a WindowsCE OS. |
@@ -57,7 +57,7 @@ namespace Amib.Threading.Internal | |||
57 | /// <param name="initialState">The initial state of the event</param> | 57 | /// <param name="initialState">The initial state of the event</param> |
58 | private static void ReplaceEventHandle(WaitHandle waitHandle, bool manualReset, bool initialState) | 58 | private static void ReplaceEventHandle(WaitHandle waitHandle, bool manualReset, bool initialState) |
59 | { | 59 | { |
60 | // Store the old handle | 60 | // Store the old handle |
61 | IntPtr oldHandle = waitHandle.Handle; | 61 | IntPtr oldHandle = waitHandle.Handle; |
62 | 62 | ||
63 | // Create a new event | 63 | // Create a new event |
@@ -67,7 +67,7 @@ namespace Amib.Threading.Internal | |||
67 | waitHandle.Handle = newHandle; | 67 | waitHandle.Handle = newHandle; |
68 | 68 | ||
69 | // Close the old event | 69 | // Close the old event |
70 | CloseHandle (oldHandle); | 70 | CloseHandle (oldHandle); |
71 | } | 71 | } |
72 | 72 | ||
73 | [DllImport("coredll.dll", SetLastError = true)] | 73 | [DllImport("coredll.dll", SetLastError = true)] |