예제 #1
0
        static FiberPool()
        {
            ISchedulableThread[] threads = new ISchedulableThread[fiberThreadCount];

            for (int i = 0; i < fiberThreadCount; i++)
                threads[i] = new FiberThread();

            fiberScheduler = Configuration.FiberPoolScheduler;
            fiberScheduler.Create(threads);
        }
예제 #2
0
        static FiberPool()
        {
            ISchedulableThread[] threads = new ISchedulableThread[fiberThreadCount];

            for (int i = 0; i < fiberThreadCount; i++)
            {
                threads[i] = new FiberThread();
            }

            fiberScheduler = Configuration.FiberPoolScheduler;
            fiberScheduler.Create(threads);
        }