1 7 8 package java.util.concurrent.locks; 9 10 22 public abstract class AbstractOwnableSynchronizer 23 implements java.io.Serializable { 24 25 26 private static final long serialVersionUID = 3737899427754241961L; 27 28 31 protected AbstractOwnableSynchronizer() { } 32 33 36 private transient Thread exclusiveOwnerThread; 37 38 44 protected final void setExclusiveOwnerThread(Thread t) { 45 exclusiveOwnerThread = t; 46 } 47 48 55 protected final Thread getExclusiveOwnerThread() { 56 return exclusiveOwnerThread; 57 } 58 } 59 | Popular Tags |