Lines Matching defs:gate
42 final Semaphore gate;
45 Mapper(FileChannel fc, Semaphore gate) {
47 this.gate = gate;
53 gate.acquireUninterruptibly();
67 static Mapper startMapper(FileChannel fc, Semaphore gate) {
68 Mapper r = new Mapper(fc, gate);
78 final Semaphore gate;
80 Interruptor(Mapper[] mappers, Semaphore gate) {
82 this.gate = gate;
86 gate.release(mappers.length);
107 Semaphore gate = new Semaphore(0);
110 mappers[j] = Mapper.startMapper(fc, gate);
114 Interruptor interruptor = new Interruptor(mappers, gate);