diff options
author | Justin Clark-Casey (justincc) | 2013-05-01 23:00:46 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2013-05-01 23:00:46 +0100 |
commit | 854dcd1abddc3eef33da953592deb61133e5e7ed (patch) | |
tree | d89d9d616384fdb4e6b4eec658339eac2f079ff2 /ThirdParty/SmartThreadPool/STPEventWaitHandle.cs | |
parent | Add in-code exaplanation for the change in cancellation signalling in STP 2.2... (diff) | |
download | opensim-SC_OLD-854dcd1abddc3eef33da953592deb61133e5e7ed.zip opensim-SC_OLD-854dcd1abddc3eef33da953592deb61133e5e7ed.tar.gz opensim-SC_OLD-854dcd1abddc3eef33da953592deb61133e5e7ed.tar.bz2 opensim-SC_OLD-854dcd1abddc3eef33da953592deb61133e5e7ed.tar.xz |
Fix SmartThreadPool line endings in recent update from dos to unix
Diffstat (limited to '')
-rw-r--r-- | ThirdParty/SmartThreadPool/STPEventWaitHandle.cs | 122 |
1 files changed, 61 insertions, 61 deletions
diff --git a/ThirdParty/SmartThreadPool/STPEventWaitHandle.cs b/ThirdParty/SmartThreadPool/STPEventWaitHandle.cs index 3b92645..9b17f69 100644 --- a/ThirdParty/SmartThreadPool/STPEventWaitHandle.cs +++ b/ThirdParty/SmartThreadPool/STPEventWaitHandle.cs | |||
@@ -1,62 +1,62 @@ | |||
1 | #if !(_WINDOWS_CE) | 1 | #if !(_WINDOWS_CE) |
2 | 2 | ||
3 | using System; | 3 | using System; |
4 | using System.Threading; | 4 | using System.Threading; |
5 | 5 | ||
6 | namespace Amib.Threading.Internal | 6 | namespace Amib.Threading.Internal |
7 | { | 7 | { |
8 | #if _WINDOWS || WINDOWS_PHONE | 8 | #if _WINDOWS || WINDOWS_PHONE |
9 | internal static class STPEventWaitHandle | 9 | internal static class STPEventWaitHandle |
10 | { | 10 | { |
11 | public const int WaitTimeout = Timeout.Infinite; | 11 | public const int WaitTimeout = Timeout.Infinite; |
12 | 12 | ||
13 | internal static bool WaitAll(WaitHandle[] waitHandles, int millisecondsTimeout, bool exitContext) | 13 | internal static bool WaitAll(WaitHandle[] waitHandles, int millisecondsTimeout, bool exitContext) |
14 | { | 14 | { |
15 | return WaitHandle.WaitAll(waitHandles, millisecondsTimeout); | 15 | return WaitHandle.WaitAll(waitHandles, millisecondsTimeout); |
16 | } | 16 | } |
17 | 17 | ||
18 | internal static int WaitAny(WaitHandle[] waitHandles) | 18 | internal static int WaitAny(WaitHandle[] waitHandles) |
19 | { | 19 | { |
20 | return WaitHandle.WaitAny(waitHandles); | 20 | return WaitHandle.WaitAny(waitHandles); |
21 | } | 21 | } |
22 | 22 | ||
23 | internal static int WaitAny(WaitHandle[] waitHandles, int millisecondsTimeout, bool exitContext) | 23 | internal static int WaitAny(WaitHandle[] waitHandles, int millisecondsTimeout, bool exitContext) |
24 | { | 24 | { |
25 | return WaitHandle.WaitAny(waitHandles, millisecondsTimeout); | 25 | return WaitHandle.WaitAny(waitHandles, millisecondsTimeout); |
26 | } | 26 | } |
27 | 27 | ||
28 | internal static bool WaitOne(WaitHandle waitHandle, int millisecondsTimeout, bool exitContext) | 28 | internal static bool WaitOne(WaitHandle waitHandle, int millisecondsTimeout, bool exitContext) |
29 | { | 29 | { |
30 | return waitHandle.WaitOne(millisecondsTimeout); | 30 | return waitHandle.WaitOne(millisecondsTimeout); |
31 | } | 31 | } |
32 | } | 32 | } |
33 | #else | 33 | #else |
34 | internal static class STPEventWaitHandle | 34 | internal static class STPEventWaitHandle |
35 | { | 35 | { |
36 | public const int WaitTimeout = Timeout.Infinite; | 36 | public const int WaitTimeout = Timeout.Infinite; |
37 | 37 | ||
38 | internal static bool WaitAll(WaitHandle[] waitHandles, int millisecondsTimeout, bool exitContext) | 38 | internal static bool WaitAll(WaitHandle[] waitHandles, int millisecondsTimeout, bool exitContext) |
39 | { | 39 | { |
40 | return WaitHandle.WaitAll(waitHandles, millisecondsTimeout, exitContext); | 40 | return WaitHandle.WaitAll(waitHandles, millisecondsTimeout, exitContext); |
41 | } | 41 | } |
42 | 42 | ||
43 | internal static int WaitAny(WaitHandle[] waitHandles) | 43 | internal static int WaitAny(WaitHandle[] waitHandles) |
44 | { | 44 | { |
45 | return WaitHandle.WaitAny(waitHandles); | 45 | return WaitHandle.WaitAny(waitHandles); |
46 | } | 46 | } |
47 | 47 | ||
48 | internal static int WaitAny(WaitHandle[] waitHandles, int millisecondsTimeout, bool exitContext) | 48 | internal static int WaitAny(WaitHandle[] waitHandles, int millisecondsTimeout, bool exitContext) |
49 | { | 49 | { |
50 | return WaitHandle.WaitAny(waitHandles, millisecondsTimeout, exitContext); | 50 | return WaitHandle.WaitAny(waitHandles, millisecondsTimeout, exitContext); |
51 | } | 51 | } |
52 | 52 | ||
53 | internal static bool WaitOne(WaitHandle waitHandle, int millisecondsTimeout, bool exitContext) | 53 | internal static bool WaitOne(WaitHandle waitHandle, int millisecondsTimeout, bool exitContext) |
54 | { | 54 | { |
55 | return waitHandle.WaitOne(millisecondsTimeout, exitContext); | 55 | return waitHandle.WaitOne(millisecondsTimeout, exitContext); |
56 | } | 56 | } |
57 | } | 57 | } |
58 | #endif | 58 | #endif |
59 | 59 | ||
60 | } | 60 | } |
61 | 61 | ||
62 | #endif \ No newline at end of file | 62 | #endif \ No newline at end of file |