/// <summary>
 /// Returns true if this condition was created by the given synchronization object.
 /// </summary>
 internal bool IsOwnedBy(AbstractQueuedSynchronizer sync)
 {
     return ReferenceEquals(sync, parent);
 }
 /// <summary>
 /// Creates a new <tt>ConditionObject</tt> instance.
 /// </summary>
 public ConditionObject(AbstractQueuedSynchronizer parent) : base()
 {
     this.parent = parent;
 }