Report lock

This commit is contained in:
James Cherry
2020-04-12 09:46:30 -07:00
parent 0f91d677e3
commit 85e0254629
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -19,6 +19,7 @@
#include <stdio.h>
#include <stdarg.h>
#include <string>
#include <mutex>
#include "DisallowCopyAssign.hh"
struct Tcl_Interp;
@@ -113,6 +114,7 @@ protected:
char *buffer_;
// Length of string in buffer.
size_t buffer_length_;
std::mutex buffer_lock_;
private:
DISALLOW_COPY_AND_ASSIGN(Report);