public static void Start(int controlPort) { if (thread != null) { throw new InvalidOperationException("ContorlListener already started"); } port = controlPort; thread = Threads.Create("Controller Listener", Run, null); thread.Start(); }
public static void Start() { thread = Threads.Create("Backup", BackupThreadRun, null); thread.Start(); }
public void Start() { clientThread.Start(); }
public static void Run(object o, Action run) { Threads t = Create(o, run, null); t.Start(); }