Update the secondary group cache (#1492)
Some checks are pending
CodeQL / Analyze (push) Waiting to run
mkdocs / deploy (push) Waiting to run

* Use concurrent_flat_map to build a global cache rather than per
thread.
* Create global maintanence thread manager for clearing unused cache
entries.
This commit is contained in:
trapexit 2025-07-05 17:05:53 -05:00 • committed by GitHub
parent 9e626228be
commit f852474073
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
17 changed files with 342 additions and 246 deletions

View file

@ -28,8 +28,6 @@ namespace ugid
initgroups(const uid_t uid_,
const gid_t gid_)
{
static thread_local GIDCache cache;
cache.initgroups(uid_,gid_);
GIDCache::initgroups(uid_,gid_);
}
}