Beispiel #1
0
 internal override void ShareFreeList(BlockRevQueue q)
 {
     g.ShareFreeList(q);
 }
Beispiel #2
0
 internal void FreeBlock(BlockRevQueue.Block b)
 {
     b.next = next;
     next = b;
 }
Beispiel #3
0
		internal override void ShareFreeList(BlockRevQueue q)
		{
			pending.ShareFreeList(q);
		}
Beispiel #4
0
 internal override void ShareFreeList(BlockRevQueue q)
 {
     q.ShareFreeList(this.held);
 }
Beispiel #5
0
 /// <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)
 {
 }
Beispiel #6
0
		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;
 }
Beispiel #9
0
 internal override void ShareFreeList(BlockRevQueue q)
 {
     q.ShareFreeList(pending);
 }
Beispiel #10
0
			internal override void ShareFreeList(BlockRevQueue q)
			{
				q.ShareFreeList(this.held);
			}
Beispiel #11
0
 /// <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)
 {
 }