ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akuznet...@apache.org
Subject [14/50] ignite git commit: .NET: Restore AllocateCriticalSafe method
Date Fri, 26 Aug 2016 09:16:18 GMT
.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/ignite-3443
Commit: 3404ed59af3643e217603e8e35cc839044748493
Parents: 0c860ec
Author: Pavel Tupitsyn <ptupitsyn@apache.org>
Authored: Fri Aug 19 15:59:14 2016 +0300
Committer: Pavel Tupitsyn <ptupitsyn@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>


Mime
View raw message