Need ability to lock AWT monitor outwith drawing surfaces

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: 1.2.2
    • Component/s: client-libs
    • generic
    • generic



      Name: krT82822 Date: 09/16/99


      It would be very helpful to be able to lock the AWT monitor
      as per the lock() method in the DrawingSurfaceInfo classes
      outwith the scope of a drawing surface.

      On X11 platforms, any operations that might occur using the
      X protocol but not via a drawing surface can result in
      breakdowns in the X11 protocol ( async reply problems )
      which will terminally hang the application. This is bad.

      The new native AWT API also suffers from this omission and
      cannot be robustly used in all cases.

      The SGI JDK-1.1.6 release featured two native methods called
      awt_lock_enter() and awt_lock_exit() which basically locked
      the AWT monitor ensuring that no AWT calls were issued when
      you might be doing something with X. Something similar as a
      standard with the JDK and accessible via the JNI would be
      fabulous.
      (Review ID: 95084)
      ======================================================================

            Assignee:
            Michael Martak (Inactive)
            Reporter:
            Kevin Ryan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: