diff options
| author | Andrey Kleshchev <117672381+akleshchev@users.noreply.github.com> | 2026-07-20 20:39:09 +0300 |
|---|---|---|
| committer | Andrey Kleshchev <117672381+akleshchev@users.noreply.github.com> | 2026-07-21 22:42:36 +0300 |
| commit | 0f0e7e85076df6c71ea23b4bae2b0ed264e52291 (patch) | |
| tree | 201f20470927d53755feb9a4f924f936487837c0 /indra/newview/llinventorymodel.h | |
| parent | 70609524f38038f8d65810dcc088d9ff594982cc (diff) | |
#6014 Offload inventory cache packing onto a thread
Diffstat (limited to 'indra/newview/llinventorymodel.h')
| -rw-r--r-- | indra/newview/llinventorymodel.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llinventorymodel.h b/indra/newview/llinventorymodel.h index 05ada9121a..3a9e3fc3b0 100644 --- a/indra/newview/llinventorymodel.h +++ b/indra/newview/llinventorymodel.h @@ -195,7 +195,13 @@ public: // Call on logout to save a terse representation. void cache(const LLUUID& parent_folder_id, const LLUUID& agent_id); + + // Wait for any pending async cache operations to complete + static void waitForPendingCacheWrites(); private: + // Async gzip compression tracking + static std::vector<std::thread> sPendingCacheThreads; + // Information for tracking the actual inventory. We index this // information in a lot of different ways so we can access // the inventory using several different identifiers. |
