private void InitBlock(TestThreadSafe enclosingInstance) { this.enclosingInstance = enclosingInstance; }
// pass in random in case we want to make things reproducable public Thr(TestThreadSafe enclosingInstance, int iter, System.Random rand, int level) { InitBlock(enclosingInstance); this.iter = iter; this.rand = rand; }
// pass in random in case we want to make things reproducable public Thr(TestThreadSafe enclosingInstance, int iter, System.Random rand) { InitBlock(enclosingInstance); this.iter = iter; this.rand = rand; }