private long ComputeJobCreate(long memPtr) { using (PlatformMemoryStream stream = IgniteManager.Memory.Get(memPtr).GetStream()) { ComputeJobHolder job = ComputeJobHolder.CreateJob(_ignite, stream); return(_handleRegistry.Allocate(job)); } }
private long ComputeJobCreate(void *target, long memPtr) { return(SafeCall(() => { using (PlatformMemoryStream stream = IgniteManager.Memory.Get(memPtr).GetStream()) { ComputeJobHolder job = ComputeJobHolder.CreateJob(_ignite, stream); return _handleRegistry.Allocate(job); } })); }