(thread) Thread class should have getState() method

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Duplicate
    • Priority: P5
    • None
    • Affects Version/s: 1.1.3
    • Component/s: 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 - ###@###.###
      ======================================================================

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: