public static IFiber StartNew(IExecutor executor) { ThreadFiber pool = new ThreadFiber(executor); pool.Start(); return(pool); }
public static IFiber StartNew(string name) { var fiber = new ThreadFiber(name); fiber.Start(); return(fiber); }
public static IFiber StartNew() { ThreadFiber pool = new ThreadFiber(); pool.Start(); return(pool); }
public static IFiber StartNew(string name) { var fiber = new ThreadFiber(name); fiber.Start(); return fiber; }