static void Main(string[] args) { //SimpleThreadExample simpleThread = new SimpleThreadExample(); //simpleThread.StartMultipleThread(); //AutoResetEventExample autoResetEventExample = new AutoResetEventExample(); //autoResetEventExample.StartThread(); ThreadPoolExample threadPoolExample = new ThreadPoolExample(); threadPoolExample.ThreadStart(); }
static void Main(string[] args) { //BackgroundWorker0 background = new BackgroundWorker0(); //background.TestArea2(); //ThreadingSynchronize.MainExecute(); //ThreadTimer timer = new ThreadTimer(); //timer.RunTimer(); ThreadPoolExample.MainExecute(); Console.WriteLine("ok");//add a comment }
public void TestCase() { var sut = new ThreadPoolExample(); Assert.IsTrue(sut.IsSet); }
public void MenuOpt3() { ThreadPoolExample.Method(); }