summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-08-17 22:32:34 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-08-17 22:32:34 +0000
commitc0c815e887d72414894930b62221acc32488c2d0 (patch)
tree0a00dd0b5bf8784bd35ebf9a8e227f9d572d98af /include
parent6cf64a631a1522c137a1fcf88858ea1336822abf (diff)
downloadllvm-c0c815e887d72414894930b62221acc32488c2d0.tar.gz
llvm-c0c815e887d72414894930b62221acc32488c2d0.tar.bz2
llvm-c0c815e887d72414894930b62221acc32488c2d0.tar.xz
CrashRecovery: Make CrashRecoveryContext static methods thread safe.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111307 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Support/CrashRecoveryContext.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/llvm/Support/CrashRecoveryContext.h b/include/llvm/Support/CrashRecoveryContext.h
index d44d24ac95..45a43fa195 100644
--- a/include/llvm/Support/CrashRecoveryContext.h
+++ b/include/llvm/Support/CrashRecoveryContext.h
@@ -47,12 +47,10 @@ public:
CrashRecoveryContext() : Impl(0) {}
~CrashRecoveryContext();
- /// \brief Enable crash recovery. This function is not thread safe, clients
- /// should call it during startup or with a lock held.
+ /// \brief Enable crash recovery.
static void Enable();
- /// \brief Disable crash recovery. This function is not thread safe, clients
- /// should call it during startup or with a lock held.
+ /// \brief Disable crash recovery.
static void Disable();
/// \brief Execute the provide callback function (with the given arguments) in