diff options
author | Anirudh Agnihotry <anirudhagnihotry098@gmail.com> | 2018-06-09 00:51:10 +0300 |
---|---|---|
committer | Anirudh Agnihotry <anirudhagnihotry098@gmail.com> | 2018-06-09 10:20:07 +0300 |
commit | 69dfc6f381c6814de4597f14cc39e8003e28891f (patch) | |
tree | cb07e1667f92eefb094cc4bbdb4f8f64b6d8b3ff /src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.Constants.cs | |
parent | 937e6fd16440d908e0473796029322daeab18964 (diff) |
Moved Mutex.cs From src to shared (dotnet/coreclr#18320)
* Moved Mutex.cs to shared
* Reduced #ifdef in mutex.cs
* Moved windows specific Implementation and renamed mincore to kernal32
* safeWaitHandle changed to _waitHandle
* moved using statement out of buffer namespace
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
Diffstat (limited to 'src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.Constants.cs')
-rw-r--r-- | src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.Constants.cs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.Constants.cs b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.Constants.cs new file mode 100644 index 000000000..8437f4b8f --- /dev/null +++ b/src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.Constants.cs @@ -0,0 +1,13 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +internal static partial class Interop +{ + internal static partial class Kernel32 + { + internal const int MAXIMUM_ALLOWED = 0x02000000; + internal const int SYNCHRONIZE = 0x00100000; + internal const int MUTEX_MODIFY_STATE = 0x00000001; + } +} |