diff options
author | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-06-01 22:07:53 +0000 |
---|---|---|
committer | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-06-01 22:07:53 +0000 |
commit | f237ccbb8414a63231dbef45df8fb42b48a3b923 (patch) | |
tree | 0480fc2a840f47762f1ecff517f99240fbae51e0 /ace/Dump.h | |
parent | 7ea34bd80216c224677ced47de722c0a79be4913 (diff) | |
download | ATCD-f237ccbb8414a63231dbef45df8fb42b48a3b923.tar.gz |
Modified double-checking pattern
Diffstat (limited to 'ace/Dump.h')
-rw-r--r-- | ace/Dump.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ace/Dump.h b/ace/Dump.h index dba4b03965d..b50ab5a60ca 100644 --- a/ace/Dump.h +++ b/ace/Dump.h @@ -137,6 +137,9 @@ private: static ACE_ODB *instance_; // Singleton instance of this class. + static int instantiated_; + // Flag indicating whether the <instance_> has been instantiated or not. + Tuple object_table_[ACE_ODB::MAX_TABLE_SIZE]; // The current implementation is very simple-minded and will be // changed to be dynamic. |