diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1998-08-04 19:51:18 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1998-08-04 19:51:18 +0000 |
commit | a3ece2cac663b196ad60ce6ffcf186b1c68290fc (patch) | |
tree | a88c213d09a4365a476aad4b6f574ee63675cf5c /ace/Object_Manager.cpp | |
parent | f862ae8e2b3b8920747e0d9fc7840d63dcfdf9e3 (diff) | |
download | ATCD-a3ece2cac663b196ad60ce6ffcf186b1c68290fc.tar.gz |
*** empty log message ***
Diffstat (limited to 'ace/Object_Manager.cpp')
-rw-r--r-- | ace/Object_Manager.cpp | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/ace/Object_Manager.cpp b/ace/Object_Manager.cpp index 43b0f9ca2ba..db612ea060f 100644 --- a/ace/Object_Manager.cpp +++ b/ace/Object_Manager.cpp @@ -39,7 +39,6 @@ ACE_RCSID(ace, Object_Manager, "$Id$") # define ACE_APPLICATION_PREALLOCATED_ARRAY_DELETIONS #endif /* ACE_APPLICATION_PREALLOCATED_ARRAY_DELETIONS */ - // Static data. ACE_Object_Manager *ACE_Object_Manager::instance_ = 0; @@ -59,9 +58,9 @@ void *ACE_Object_Manager::preallocated_array[ ACE_Sig_Adapter *ace_service_config_sig_handler = 0; -// Handy macros for use by ACE_Object_Manager constructor to preallocate or -// delete an object or array, either statically (in global data) or -// dynamically (on the heap). +// Handy macros for use by ACE_Object_Manager constructor to +// preallocate or delete an object or array, either statically (in +// global data) or dynamically (on the heap). #if defined (ACE_HAS_STATIC_PREALLOCATION) # define ACE_PREALLOCATE_OBJECT(TYPE, ID)\ {\ @@ -95,9 +94,11 @@ ACE_Sig_Adapter *ace_service_config_sig_handler = 0; preallocated_array[ID] = 0; #endif /* ACE_HAS_STATIC_PREALLOCATION */ - 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); @@ -117,10 +118,10 @@ ACE_Object_Manager_Preallocations *ace_object_manager_preallocations = 0; // ACE_Svc_Export context. extern "C" ACE_Export ACE_Service_Object *_make_ACE_Service_Manager (ACE_Service_Object_Exterminator *); -ACE_Object_Manager_Preallocations::ACE_Object_Manager_Preallocations () +ACE_Object_Manager_Preallocations::ACE_Object_Manager_Preallocations (void) { - // Define the static services. This macro call creates static service - // descriptors that are used for initialization below. + // Define the static services. This macro call creates static + // service descriptors that are used for initialization below. #if !defined (ACE_HAS_WINCE) ACE_STATIC_SVC_DEFINE (ACE_Naming_Context_initializer, ASYS_TEXT ("ACE_Naming_Context"), |