Branch: refs/heads/thaines/fix_MappedFile_thread_safety
Home: https://github.com/dyninst/dyninst
Commit: b8b6d3ab699a58f05595dd42dfd2b8f914b0890a
https://github.com/dyninst/dyninst/commit/b8b6d3ab699a58f05595dd42dfd2b8f914b0890a
Author: Tim Haines <thaines.astro@xxxxxxxxx>
Date: 2023-08-18 (Fri, 18 Aug 2023)
Changed paths:
M common/src/MappedFile.C
M common/src/MappedFile.h
Log Message:
-----------
Make MappedFile::mapped_files threadsafe
Currently, a MappedFile is created from a constructor in either the
Symtab or Archive classes. In both cases, a user is allowed to invoke
them in parallel (although only one thread may enter the constructor),
but the cache here is not threadsafe.
|