Beispiel #1
0
  public Object lock_read(int id, Client_itf client) throws java.rmi.RemoteException {
    mutex.lock();
    ServerObject object = objects.get(id);
    mutex.unlock();

    object.lock_read(client);
    return object.getObj();
  }