ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From voze...@apache.org
Subject [01/19] ignite git commit: first draft
Date Tue, 08 Dec 2015 13:17:39 GMT
Repository: ignite
Updated Branches:
  refs/heads/ignite-1694 [created] 4d79c2b65


first draft


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

Branch: refs/heads/ignite-1694
Commit: 7966a36aa604adc0df0afa310856295a06e9de1c
Parents: 894057e
Author: Pavel Tupitsyn <ptupitsyn@gridgain.com>
Authored: Wed Nov 11 16:22:57 2015 +0300
Committer: Pavel Tupitsyn <ptupitsyn@gridgain.com>
Committed: Wed Nov 11 16:22:57 2015 +0300

----------------------------------------------------------------------
 .../dotnet/Apache.Ignite.Core/Impl/Unmanaged/UnmanagedUtils.cs | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/7966a36a/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Unmanaged/UnmanagedUtils.cs
----------------------------------------------------------------------
diff --git a/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Unmanaged/UnmanagedUtils.cs
b/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Unmanaged/UnmanagedUtils.cs
index 9a49fae..63ba30a 100644
--- a/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Unmanaged/UnmanagedUtils.cs
+++ b/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Unmanaged/UnmanagedUtils.cs
@@ -312,6 +312,10 @@ namespace Apache.Ignite.Core.Impl.Unmanaged
         private static readonly ProcessorDataStreamerDelegate PROCESSOR_DATA_STREAMER;
         private static readonly ProcessorTransactionsDelegate PROCESSOR_TRANSACTIONS;
         private static readonly ProcessorComputeDelegate PROCESSOR_COMPUTE;
+
+        [DllImport(IgniteUtils.FileIgniteJniDll, EntryPoint = "IgniteProcessorCompute")]
+        private static extern void* PROCESSOR_COMPUTE2(void* ctx, void* obj, void* prj);
+
         private static readonly ProcessorMessageDelegate PROCESSOR_MESSAGE;
         private static readonly ProcessorEventsDelegate PROCESSOR_EVENTS;
         private static readonly ProcessorServicesDelegate PROCESSOR_SERVICES;
@@ -719,7 +723,7 @@ namespace Apache.Ignite.Core.Impl.Unmanaged
 
         internal static IUnmanagedTarget ProcessorCompute(IUnmanagedTarget target, IUnmanagedTarget
prj)
         {
-            void* res = PROCESSOR_COMPUTE(target.Context, target.Target, prj.Target);
+            void* res = PROCESSOR_COMPUTE2(target.Context, target.Target, prj.Target);
 
             return target.ChangeTarget(res);
         }


Mime
View raw message