public boolean allocate(){
  int count;
  while ((count=_useCount.get()) > 0) {
    if (_useCount.compareAndSet(count,count + 1))     return true;
  }
  return false;
}

public boolean allocate ( ) { int count ; while ( ( count = _useCount . get ( ) ) > 0 ) { if ( _useCount . compareAndSet ( count , count + 1 ) ) return true ; } return false ; }
allocates access to the inode .
