This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
private Mutex parent;
final void setParent(Mutex parent) {
if (this.parent != null) {
throw new RuntimeException("This Mutex.Priviledged is already bound to a Mutex instance. It cannot be reused."); //NOI18N
}
this.parent = parent;
public void exitWriteAccess() {
parent.leave(Thread.currentThread());
public Mutex getMutex() {
return parent;