Ejemplo n.º 1
0
        public IFuture Start(ProcessInfo process, ISchedulable task)
        {
            OwnedFutureSet of = null;
            if (!_OwnedFutures.TryGetValue(process, out of)) {
                of = new OwnedFutureSet();
                _OwnedFutures[process] = of;
            }

            var f = process.Start(task);
            of.Add(f);
            return f;
        }