Logo Search packages:      
Sourcecode: gaia version File versions  Download package

unsigned int Tile::IncRef (  )  [protected]

Increase reference counter value

Returns:
value after increment

Definition at line 109 of file Tile.cc.

References m_RefCount, and m_RefCountMutex.

                          {
      pthread_mutex_lock(&m_RefCountMutex);
      unsigned int rc = ++m_RefCount;
      pthread_mutex_unlock(&m_RefCountMutex);
      return rc;
}


Generated by  Doxygen 1.6.0   Back to index