diff options
Diffstat (limited to 'ACE/ace/Object_Manager.inl')
-rw-r--r-- | ACE/ace/Object_Manager.inl | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/ACE/ace/Object_Manager.inl b/ACE/ace/Object_Manager.inl index bb95a485fdc..bcff772f605 100644 --- a/ACE/ace/Object_Manager.inl +++ b/ACE/ace/Object_Manager.inl @@ -7,24 +7,35 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE int ACE_Object_Manager::at_exit (ACE_Cleanup *object, - void *param) + void *param, + const char* name) { return ACE_Object_Manager::instance ()->at_exit_i ( object, (ACE_CLEANUP_FUNC) ACE_CLEANUP_DESTROYER_NAME, - param); + param, + name); } ACE_INLINE int ACE_Object_Manager::at_exit (void *object, ACE_CLEANUP_FUNC cleanup_hook, - void *param) + void *param, + const char* name) { return ACE_Object_Manager::instance ()->at_exit_i ( object, cleanup_hook, - param); + param, + name); +} + +ACE_INLINE +int +ACE_Object_Manager::remove_at_exit (void *object) +{ + return ACE_Object_Manager::instance ()->remove_at_exit_i (object); } ACE_INLINE |