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

(hpi) Closing an active file descriptor blocks on Solaris native threads

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.2.0
    • 1.1.6, 1.1.7, 1.2.0
    • hotspot
    • 1.2fcs
    • generic, sparc
    • generic, solaris_2.5.1, solaris_2.6
    • Not verified

      Calling close on a file descriptor that is being used by another thread
      blocks on Solaris native threads, but succeeeds immediately on green
      threads and Win32. Solaris native threads I/O needs to be fixed so that
      it behaves the same as green threads and Win32. In addition, the API
      documentation needs to be updated to state this as a feature programmers
      can rely on.

      This is a critically useful feature that applications like Hotjava can
      rely on to terminate long-running IO operations. Interruptable IO would
      also do the job, but we are finding it very difficult to support on
      Win32.

            hongzh Hong Zhang
            sliangsunw Sheng Liang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: