コード例 #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 ThreadLocalStack(ThreadLocalPool <T> owner)
 {
     this.owner = owner;
 }