Example #1
0
        public static bool LaunchThread(OptionsThread ot, Options o)
        {
            bool            result = false;
            OptionsLauncher ol     = new OptionsLauncher(ot, o);

            System.Threading.ThreadStart threadStart = new System.Threading.ThreadStart(ol.ThreadEntry);

            System.Threading.Thread t = new System.Threading.Thread(new System.Threading.ThreadStart(ol.ThreadEntry));
            if (t != null)
            {
                t.Start();
                result = true;
            }

            return(result);
        }
Example #2
0
 public OptionsLauncher(OptionsThread t, Options opt)
 {
     Proc   = t;
     Option = opt;
 }