-
Enhancement
-
Resolution: Duplicate
-
P4
-
None
-
1.2.2
-
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)
======================================================================
- duplicates
-
JDK-4281429 Native drawing JAWT interface improvements
-
- Closed
-