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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 1.2.0
    • Affects Version/s: 1.1.6, 1.1.7, 1.2.0
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: