| java.lang.Object threaddemo.locking.EventHybridLock
EventHybridLock | final class EventHybridLock implements RWLock(Code) | | Special "event hybrid" lock.
If in AWT, automatically canRead, and read access is a no-op.
Write access from AWT is OK.
Write access otherwise calls invokeAndWait.
author: Jesse Glick |
canRead | public boolean canRead()(Code) | | |
canWrite | public boolean canWrite()(Code) | | |
|
|