mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-31 07:43:37 +00:00
Add a comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@244337 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9b171d27d0
commit
2fe3acd745
@ -24,6 +24,10 @@ static ManagedStatic<
|
|||||||
sys::ThreadLocal<const CrashRecoveryContextImpl> > CurrentContext;
|
sys::ThreadLocal<const CrashRecoveryContextImpl> > CurrentContext;
|
||||||
|
|
||||||
struct CrashRecoveryContextImpl {
|
struct CrashRecoveryContextImpl {
|
||||||
|
// When threads are disabled, this links up all active
|
||||||
|
// CrashRecoveryContextImpls. When threads are enabled there's one thread
|
||||||
|
// per CrashRecoveryContext and CurrentContext is a thread-local, so only one
|
||||||
|
// CrashRecoveryContextImpl is active per thread and this is always null.
|
||||||
const CrashRecoveryContextImpl *Next;
|
const CrashRecoveryContextImpl *Next;
|
||||||
|
|
||||||
CrashRecoveryContext *CRC;
|
CrashRecoveryContext *CRC;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user