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

Need ability to lock AWT monitor outwith drawing surfaces

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.2.2
    • 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)
      ======================================================================

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: