スレッドテスト

3518 ワード


 
/*
        // 0-1W    
        ThreadTest threadTest = new ThreadTest();
        threadTest.start();
        threadTest.start();
        threadTest.start();
        threadTest.start();*/

/*        // 0-1W   
        new ThreadTest().start();
        new ThreadTest().start();
        new ThreadTest().start();
        new ThreadTest().start();*/

/*
        // 0-1W   
        ThreadTest threadTest = new ThreadTest();
        new Thread(threadTest).start();
        new Thread(threadTest).start();
        new Thread(threadTest).start();
        new Thread(threadTest).start();
*/

        // 0-1W   
        new Thread(new ThreadTest()).start();
        new Thread(new ThreadTest()).start();
        new Thread(new ThreadTest()).start();
        new Thread(new ThreadTest()).start();

 
 
/*        // main , 
        ThreadTest threadTest = new ThreadTest();
        threadTest.run();
        threadTest.run();
        threadTest.run();
        threadTest.run();*/

/*
        // main    
        new ThreadTest().run();
        new ThreadTest().run();
        new ThreadTest().run();
        new ThreadTest().run();
*/

/*        // main    
        ThreadTest threadTest = new ThreadTest();
        new Thread(threadTest).run();
        new Thread(threadTest).run();
        new Thread(threadTest).run();
        new Thread(threadTest).run();
*/

        // main    
        new Thread(new ThreadTest()).run();
        new Thread(new ThreadTest()).run();
        new Thread(new ThreadTest()).run();
        new Thread(new ThreadTest()).run();