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

(fp.bugs: 1276) Can't kill thread that has been blocked by read()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 1.0
    • core-libs
    • sparc
    • solaris_2.4

      fp.bugs 1276 - ###@###.### (Jon Payne)

      Once a thread is blocked in read() it is not possible to kill that thread, or unblock it.

      Description:
      I have a piece of applet code which tries to stop another
      thread which is blocked reading from a network connection.
      It tries to unblock it by closing the network connection,
      hoping that the read will return eof immediately. Instead
      it sits there forever blocked, the thread in PendingDeath
      state.

            duke J. Duke
            hwilliamsunw Headley Williamson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: