public interface ToolkitLock
Toolkit locks are created solely via
One use case is the AWT locking on X11, see
|Modifier and Type||Field and Description|
Timeout is implementation specific, if used at all.
RuntimeException- in case of a timeout
RuntimeException- in case the lock is not acquired by this thread.
void validateLocked() throws RuntimeException
RuntimeException- if current thread does not hold the lock
Shall be called when instance is no more required.This allows implementations sharing a lock via resources to decrease the reference counter.
Copyright 2010 JogAmp Community.