retire/catalog.cc
bool lookup(const hash::t_md5 &key, t_dirent &result) {
    bool found;

    pthread_mutex_lock(&mutex);
    found = lookup_unprotected(key, result);
    pthread_mutex_unlock(&mutex);

    return found;
  }
/**
   * Looks for a specific names in active set of catalogs.
   *
   * @param[out] result Catalog entry of found name
   * \return True if key was found, false otherwise
   */
Looks for a specific names in active set of catalogs.
@param[out] result Catalog entry of found name
\return True if key was found, false otherwise
Looks for a specific names in active set of catalogs . @param [ out ] result Catalog entry of found name \ return True if key was found false otherwise
bool lookup(const hash::t_md5 &key, t_dirent &result) {
    bool found;
    pthread_mutex_lock(&mutex);
    found = lookup_unprotected(key, result);
    pthread_mutex_unlock(&mutex);
    return found;
  }
bool lookup ( const hash :: t_md5 & key , t_dirent & result ) { bool found ; pthread_mutex_lock ( & mutex ) ; found = lookup_unprotected ( key , result ) ; pthread_mutex_unlock ( & mutex ) ; return found ; }
Looks for a specific names in active set of catalogs.
Looks for a specific names in active set of catalogs .