public void Reset(int numUpdaters, int numThreads) { this.Waiter = new CountDownLatch(1); this.UpdateJoin = new CountDownLatch(numUpdaters); this.LeftCheckpoint = new CountDownLatch(numUpdaters); }