pub fn new(semaphores: Semaphores) -> State {
        State {
            leases: Mutex::new(Leases::new()),
            semaphores,
            wakers: Wakers::new(),
        }
    }
/// Creates the state required for the semaphore service
Creates the state required for the semaphore service
Creates the state required for the semaphore service
pub fn new(semaphores: Semaphores) -> State {
        State {
            leases: Mutex::new(Leases::new()),
            semaphores,
            wakers: Wakers::new(),
        }
    }
pub fn new ( semaphores : Semaphores ) -> State { State { leases : Mutex :: new ( Leases :: new ( ) ) , semaphores , wakers : Wakers :: new ( ) , } }
Creates the state required for the semaphore service
Creates the state required for the semaphore service
semaphores
Semaphores
semaphores
Semaphores