commit | 6d429cda69b7ccc007ee368a73a6040c6b125afb | [log] [tgz] |
---|---|---|
author | Alexey Samsonov <samsonov@google.com> | Thu Mar 14 13:54:30 2013 +0000 |
committer | Alexey Samsonov <samsonov@google.com> | Thu Mar 14 13:54:30 2013 +0000 |
tree | 28ab71918eed17c5d17a8f76f3561134a21527ba | |
parent | 93af5948d3e0c5bdc396f432dd0ae782f499c449 [diff] |
[Sanitizer] Add generic ThreadRegistry class for sanitizer runtimes. This class holds basic thread bookkeeping logic and allows specific sanitizer runtimes to create thread contexts and mark threads as created/running/joined etc. The class is based on the way we currently store thread contexts in TSan. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177074 91177308-0d34-0410-b5e6-96231b3b80d8