示例#1
0
            internal Stack(int maxCapacity, ThreadLocalPool parent, Thread thread)
            {
                this.maxCapacity = maxCapacity;
                this.Parent      = parent;
                this.Thread      = thread;

                this.elements = new Handle[Math.Min(InitialCapacity, maxCapacity)];
            }
示例#2
0
 public Stack(int initialCapacity, ThreadLocalPool owner, Thread thread)
     : base(initialCapacity)
 {
     this.Owner  = owner;
     this.Thread = thread;
 }
示例#3
0
 public ThreadLocalStack(ThreadLocalPool <T> owner)
 {
     this.owner = owner;
 }