Class PushPullThreads.ProducerThread

    • Constructor Detail

      • ProducerThread

        ProducerThread​(PushPullThreads program,
                       int threadNr)
        Parameters:
        program - the calling program with the notify() method
        threadNr - the thread number
    • Method Detail

      • run

        public void run()
        Specified by:
        run in interface Runnable
        Overrides:
        run in class Thread