diff options
author | Aleric Inglewood | 2010-10-25 17:33:38 +0200 |
---|---|---|
committer | Aleric Inglewood | 2010-10-25 17:33:38 +0200 |
commit | b22b6bb6b16fcc0d908aa7899a80650ec1fe511d (patch) | |
tree | 2e922ae7ff29c98ce560353600b637b2f2a07134 /linden/indra/newview/lltexturecache.h | |
parent | Fix possible crash on llassert_always(purge_list.size() >= entries_to_purge) (diff) | |
download | meta-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.h | 1 |
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 | ||
162 | private: | 163 | private: |
163 | // Internal | 164 | // Internal |