aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/lltexturecache.h
diff options
context:
space:
mode:
authorAleric Inglewood2010-10-25 17:33:38 +0200
committerAleric Inglewood2010-10-25 17:33:38 +0200
commitb22b6bb6b16fcc0d908aa7899a80650ec1fe511d (patch)
tree2e922ae7ff29c98ce560353600b637b2f2a07134 /linden/indra/newview/lltexturecache.h
parentFix possible crash on llassert_always(purge_list.size() >= entries_to_purge) (diff)
downloadmeta-impy-b22b6bb6b16fcc0d908aa7899a80650ec1fe511d.zip
meta-impy-b22b6bb6b16fcc0d908aa7899a80650ec1fe511d.tar.gz
meta-impy-b22b6bb6b16fcc0d908aa7899a80650ec1fe511d.tar.bz2
meta-impy-b22b6bb6b16fcc0d908aa7899a80650ec1fe511d.tar.xz
Fixed a locking issue with regard to texture cache purging.
Releasing a lock in the middle of a critical area isn't very smart.
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/lltexturecache.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/linden/indra/newview/lltexturecache.h b/linden/indra/newview/lltexturecache.h
index 45804c2..c859b9a 100644
--- a/linden/indra/newview/lltexturecache.h
+++ b/linden/indra/newview/lltexturecache.h
@@ -158,6 +158,7 @@ private:
158 S32 getHeaderCacheEntry(const LLUUID& id, S32& imagesize); 158 S32 getHeaderCacheEntry(const LLUUID& id, S32& imagesize);
159 S32 setHeaderCacheEntry(const LLUUID& id, S32 imagesize); 159 S32 setHeaderCacheEntry(const LLUUID& id, S32 imagesize);
160 bool removeHeaderCacheEntry(const LLUUID& id); 160 bool removeHeaderCacheEntry(const LLUUID& id);
161 void removeFromCacheLocked(const LLUUID& id);
161 162
162private: 163private:
163 // Internal 164 // Internal