remove reentrant lock

This commit is contained in:
David Rose 2006-01-15 19:16:30 +00:00
parent d80595c1be
commit 93c5b5abd0
1 changed files with 3 additions and 3 deletions

View File

@ -72,12 +72,12 @@ get_global_ptr() {
// Function: GeomCacheManager::evict_old_entries
// Access: Private
// Description: Trims the cache size down to get_max_size() by
// evicting old cache entries as needed.
// evicting old cache entries as needed. It is assumed
// that you already hold the lock before calling this
// method.
////////////////////////////////////////////////////////////////////
void GeomCacheManager::
evict_old_entries() {
MutexHolder holder(_lock);
int current_frame = ClockObject::get_global_clock()->get_frame_count();
int min_frames = geom_cache_min_frames;