*** empty log message ***
[binutils-gdb.git] / gold / errors.h
index 4b71e6cf86df7b90e5d07d8d37e48a2cf2402c6d..a8f823d1ff53873bd48be49d64e29b9811d9379b 100644 (file)
@@ -116,6 +116,8 @@ class Errors
   // This class can be accessed from multiple threads.  This lock is
   // used to control access to the data structures.
   Lock* lock_;
+  // Used to initialize the lock_ field exactly once.
+  Initialize_lock initialize_lock_;
   // Numbers of errors reported.
   int error_count_;
   // Number of warnings reported.