Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4078440

(thread) Thread class should have getState() method

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P5 P5
    • None
    • 1.1.3
    • core-libs
    • None
    • x86
    • windows_95



      Name: joT67522 Date: 09/11/97


      The Thread.getState() method should allow the
      JAVA programmer to determine the state of the
      thread. The possible values should be:
      (1) sleeping, (2) blocked waiting for I/O,
      (3) running, (4) waiting.

      If a thread.sleep() has been called and the
      thread has not yet been awaken, then the
      state should be "sleeping".

      If a thread does a wait(Object), then the
      state should be "waiting".

      If the thread is in a "ready to run" queue,
      then state should be set to "running".
      company - SQRIBE Technologies , email - ###@###.###
      ======================================================================

            psoper Pete Soper (Inactive)
            johsunw Joon Oh (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: