Esempio n. 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)];
            }
Esempio n. 2
0
 public ThreadLocalStack(ThreadLocalPool <T> owner)
 {
     this.owner = owner;
 }