mirror of
https://github.com/apple/foundationdb.git
synced 2025-05-14 18:02:31 +08:00
Mark as noexcept since throwing would lead to deadlocks
This commit is contained in:
parent
9de26bfb84
commit
6e0633bf6f
@ -133,7 +133,7 @@ private:
|
||||
};
|
||||
static thread_local ThreadData threadData;
|
||||
static thread_local bool threadInitialized;
|
||||
static GlobalData* globalData() {
|
||||
static GlobalData* globalData() noexcept {
|
||||
#ifdef VALGRIND
|
||||
ANNOTATE_RWLOCK_ACQUIRED(vLock, 1);
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user