diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2002-05-27 06:13:52 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2002-05-27 06:13:52 +0000 |
commit | 7253ad87039c0b8e537e0b26ef27243fb0a4b4b9 (patch) | |
tree | 24f8060f1bfb6a3330d590eccb658e81adce8fc8 /ace/Object_Manager.cpp | |
parent | 33969b6eeeaebcc6dd4185e34128d9013f17c510 (diff) | |
download | ATCD-7253ad87039c0b8e537e0b26ef27243fb0a4b4b9.tar.gz |
ChangeLogTag: Mon May 27 07:53:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'ace/Object_Manager.cpp')
-rw-r--r-- | ace/Object_Manager.cpp | 29 |
1 files changed, 17 insertions, 12 deletions
diff --git a/ace/Object_Manager.cpp b/ace/Object_Manager.cpp index f2d24b96b99..654c84d7607 100644 --- a/ace/Object_Manager.cpp +++ b/ace/Object_Manager.cpp @@ -87,11 +87,14 @@ void *ACE_Object_Manager::preallocated_array[ #if !defined (ACE_LACKS_ACE_SVCCONF) +/** + * @class ACE_Object_Manager_Preallocations + * + * @brief Performs preallocations of certain statically allocated services + * needed by ACE. + */ class ACE_Object_Manager_Preallocations { - // = TITLE - // Performs preallocations of certain statically allocated - // services needed by ACE. public: ACE_Object_Manager_Preallocations (void); ~ACE_Object_Manager_Preallocations (void); @@ -715,23 +718,25 @@ ACE_Object_Manager::fini (void) #if !defined (ACE_HAS_NONSTATIC_OBJECT_MANAGER) +/** + * @class ACE_Object_Manager_Manager + * + * @brief Ensure that the <ACE_Object_Manager> gets initialized at program + * startup, and destroyed at program termination. + * + * Without ACE_HAS_NONSTATIC_OBJECT_MANAGER, a static instance of this + * class is created. Therefore, it gets created before main () + * is called. And it gets destroyed after main () returns. + */ class ACE_Export ACE_Object_Manager_Manager - // = TITLE - // Ensure that the <ACE_Object_Manager> gets initialized at - // program startup, and destroyed at program termination. - // - // = DESCRIPTION - // Without ACE_HAS_NONSTATIC_OBJECT_MANAGER, a static instance of this - // class is created. Therefore, it gets created before main () - // is called. And it gets destroyed after main () returns. { public: ACE_Object_Manager_Manager (void); ~ACE_Object_Manager_Manager (void); private: + /// Save the main thread ID, so that destruction can be suppressed. ACE_thread_t saved_main_thread_id_; - // Save the main thread ID, so that destruction can be suppressed. }; ACE_Object_Manager_Manager::ACE_Object_Manager_Manager (void) |