You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by pt...@apache.org on 2016/08/19 12:59:28 UTC

ignite git commit: .NET: Restore AllocateCriticalSafe method

Repository: ignite
Updated Branches:
  refs/heads/master 0c860ec72 -> 3404ed59a


.NET: Restore AllocateCriticalSafe method


Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/3404ed59
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/3404ed59
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/3404ed59

Branch: refs/heads/master
Commit: 3404ed59af3643e217603e8e35cc839044748493
Parents: 0c860ec
Author: Pavel Tupitsyn <pt...@apache.org>
Authored: Fri Aug 19 15:59:14 2016 +0300
Committer: Pavel Tupitsyn <pt...@apache.org>
Committed: Fri Aug 19 15:59:14 2016 +0300

----------------------------------------------------------------------
 .../Apache.Ignite.Core/Impl/Handle/HandleRegistry.cs     | 11 +++++++++++
 1 file changed, 11 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/3404ed59/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Handle/HandleRegistry.cs
----------------------------------------------------------------------
diff --git a/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Handle/HandleRegistry.cs b/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Handle/HandleRegistry.cs
index 4e1135a..36b5072 100644
--- a/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Handle/HandleRegistry.cs
+++ b/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Handle/HandleRegistry.cs
@@ -102,6 +102,17 @@ namespace Apache.Ignite.Core.Impl.Handle
         }
 
         /// <summary>
+        /// Allocate a handle for critical resource in safe mode.		
+        /// </summary>		
+        /// <param name="target">Target.</param>		
+        /// <returns>Pointer.</returns>		
+        [ExcludeFromCodeCoverage]
+        public long AllocateCriticalSafe(object target)
+        {
+            return Allocate0(target, true, true);
+        }
+
+        /// <summary>
         /// Internal allocation routine.
         /// </summary>
         /// <param name="target">Target.</param>