[PATCH] D76073: [compiler-rt][tsan] Fix: Leak of ThreadSignalContext memory mapping when destroying fibers.
Dmitry Vyukov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 25 03:45:30 PDT 2020
dvyukov added a comment.
> Would it be a worthwhile effort for me to pull responsibilities of logical and 'real' threads apart?
Yes. The Processor entity was introduced rather late in runtime evolution and only few most critical things were moved to the Processor from ThreadState. Perhaps more things can be moved.
Note tsan is also used for Go where Processor maps to a "logical processor" (a unit of GOMAXPROCS) and ThreadState maps to a goroutine. That was the main motivation for the split.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D76073/new/
https://reviews.llvm.org/D76073
More information about the llvm-commits
mailing list