Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[XLA:Python] Fix a data race between the thread destructor and garbag…
…e collection. We need to ensure accesses to entries_ in the thread-local state's destructor are ordered with respect to Python GC in another thread, but acquiring the mutex around the thread-local state table first is enough to ensure that. PiperOrigin-RevId: 694461960
- Loading branch information