Beispiel #1
0
            public E_Multi(Action <int, IMultiWorker>[] taskMethods, int threadSize)
            {
                MultiSubThreadManager v = new MultiSubThreadManager(taskMethods, threadSize);

                inst = v;
                Init(v.StartTask());
            }
Beispiel #2
0
            protected override void Dispose(bool disposing)
            {
                if (inst != null)
                {
                    inst.Dispose();
                    inst = null;

                    base.Dispose(disposing);
                }
            }