internal override void ShareFreeList(BlockRevQueue q) { g.ShareFreeList(q); }
internal void FreeBlock(BlockRevQueue.Block b) { b.next = next; next = b; }
internal override void ShareFreeList(BlockRevQueue q) { pending.ShareFreeList(q); }
internal override void ShareFreeList(BlockRevQueue q) { q.ShareFreeList(this.held); }
/// <summary>Connect the supplied queue to this generator's own free list (if any).</summary> /// <remarks>Connect the supplied queue to this generator's own free list (if any).</remarks> /// <param name="q">another FIFO queue that wants to share our queue's free list.</param> internal virtual void ShareFreeList(BlockRevQueue q) { }
internal override void ShareFreeList(BlockRevQueue q) { source.ShareFreeList(q); }
internal override void ShareFreeList(BlockRevQueue q) { q.ShareFreeList(pending); }
/// <summary>Reconfigure this queue to share the same free list as another.</summary> /// <remarks> /// Reconfigure this queue to share the same free list as another. /// <p> /// Multiple revision queues can be connected to the same free list, making /// it less expensive for applications to shuttle commits between them. This /// method arranges for the receiver to take from / return to the same free /// list as the supplied queue. /// <p> /// Free lists are not thread-safe. Applications must ensure that all queues /// sharing the same free list are doing so from only a single thread. /// </remarks> /// <param name="q">the other queue we will steal entries from.</param> internal override void ShareFreeList(NGit.Revwalk.BlockRevQueue q) { free = q.free; }