|
ACE
6.4.2
|
Ensure that the ACE_Object_Manager gets initialized at program startup, and destroyed at program termination. More...
Public Member Functions | |
| ACE_Object_Manager_Manager (void) | |
| ~ACE_Object_Manager_Manager (void) | |
Private Attributes | |
| ACE_thread_t | saved_main_thread_id_ |
| Save the main thread ID, so that destruction can be suppressed. More... | |
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.
| ACE_Object_Manager_Manager::ACE_Object_Manager_Manager | ( | void | ) |
| ACE_Object_Manager_Manager::~ACE_Object_Manager_Manager | ( | void | ) |
|
private |
Save the main thread ID, so that destruction can be suppressed.
1.8.11