Depositing the locks with the coordinator


    The process that deposits locks is started whenever we want to add locks to a coordinator. Depositing more locks with the coordinator means more number of computations will be able to execute simultaneously on that coordinator. But at any instant, the number of locks with the coordinator should be such that the coordinator is able to manage those locks and the RIBs that are executing using those locks. If the number of locks with the coordinator becomes large the coordinator may become heavily loaded.
    Following are the steps that comprise the locks-deposit procedure and they are present in the file depositLock.c: