Class ThreadTest

  • All Implemented Interfaces:
    Runnable

    public class ThreadTest
    extends Object
    implements Runnable
    A very silly test to verify that the System.in/out/err overrides are inherited by child threads. A bunch of numbers and thread ids are displayed to the client's stdout. The important thing is that all threads launched by the nail are writing to the same client.
    Author:
    Marty Lamb
    • Constructor Detail

      • ThreadTest

        public ThreadTest​(String name)
    • Method Detail

      • run

        public void run()
        Specified by:
        run in interface Runnable
      • main

        public static void main​(String[] args)