mirror of
https://github.com/apple/foundationdb.git
synced 2025-05-16 02:42:23 +08:00
Take trace mutex in setLogGroup
This commit is contained in:
parent
7d5ed53215
commit
baf0fe956c
@ -550,7 +550,10 @@ public:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void setLogGroup(const std::string& logGroup) { this->logGroup = logGroup; }
|
void setLogGroup(const std::string& logGroup) {
|
||||||
|
MutexHolder holder(mutex);
|
||||||
|
this->logGroup = logGroup;
|
||||||
|
}
|
||||||
|
|
||||||
Future<Void> pingWriterThread() {
|
Future<Void> pingWriterThread() {
|
||||||
auto ping = new WriterThread::Ping;
|
auto ping = new WriterThread::Ping;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user