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

(thread) Thread class should have getState() method

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P5
    • Resolution: Duplicate
    • Affects Version/s: 1.1.3
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:
      None
    • Subcomponent:
    • CPU:
      x86
    • OS:
      windows_95

      Description



      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 - ###@###.###
      ======================================================================

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: