Example #1
0
        public static IFiber StartNew(IExecutor executor)
        {
            ThreadFiber pool = new ThreadFiber(executor);

            pool.Start();
            return(pool);
        }
Example #2
0
        public static IFiber StartNew(string name)
        {
            var fiber = new ThreadFiber(name);

            fiber.Start();
            return(fiber);
        }
Example #3
0
        public static IFiber StartNew()
        {
            ThreadFiber pool = new ThreadFiber();

            pool.Start();
            return(pool);
        }
Example #4
0
 public static IFiber StartNew(string name)
 {
     var fiber = new ThreadFiber(name);
     fiber.Start();
     return fiber;
 }