diff options
Diffstat (limited to 'ace/OS.cpp')
-rw-r--r-- | ace/OS.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/ace/OS.cpp b/ace/OS.cpp index e065fcf3c2a..30766fa8710 100644 --- a/ace/OS.cpp +++ b/ace/OS.cpp @@ -6336,38 +6336,29 @@ ACE_OS_Object_Manager::fini (void) #if ! defined (ACE_HAS_STATIC_PREALLOCATION) // Cleanup the dynamically preallocated objects. # if defined (ACE_MT_SAFE) && (ACE_MT_SAFE != 0) -# if !defined (__Lynx__) - // LynxOS 3.0.0 has problems with this after fork. if (ACE_OS::thread_mutex_destroy (ACE_reinterpret_cast ( ACE_thread_mutex_t *, ACE_OS_Object_Manager::preallocated_object[ACE_OS_MONITOR_LOCK])) != 0) ACE_ERROR ((LM_ERROR, ASYS_TEXT("%p\n"), ASYS_TEXT("ACE_OS_Object_Manager::fini (1)"))); -# endif /* ! __Lynx__ */ ACE_OS_DELETE_PREALLOCATED_OBJECT (ACE_thread_mutex_t, ACE_OS_MONITOR_LOCK) -# if !defined (__Lynx__) - // LynxOS 3.0.0 has problems with this after fork. if (ACE_OS::recursive_mutex_destroy (ACE_reinterpret_cast ( ACE_recursive_thread_mutex_t *, ACE_OS_Object_Manager::preallocated_object[ACE_TSS_CLEANUP_LOCK])) != 0) ACE_ERROR ((LM_ERROR, ASYS_TEXT("%p\n"), ASYS_TEXT("ACE_OS_Object_Manager::fini (2)"))); -# endif /* ! __Lynx__ */ ACE_OS_DELETE_PREALLOCATED_OBJECT (ACE_recursive_thread_mutex_t, ACE_TSS_CLEANUP_LOCK) # if defined (ACE_HAS_TSS_EMULATION) && \ defined (ACE_HAS_THREAD_SPECIFIC_STORAGE) -# if !defined (__Lynx__) - // LynxOS 3.0.0 has problems with this after fork. if (ACE_OS::recursive_mutex_destroy (ACE_reinterpret_cast ( ACE_recursive_thread_mutex_t *, ACE_OS_Object_Manager::preallocated_object[ACE_TSS_BASE_LOCK])) != 0) ACE_ERROR ((LM_ERROR, ASYS_TEXT("%p\n"), ASYS_TEXT("ACE_OS_Object_Manager::fini (3)"))); -# endif /* ! __Lynx__ */ ACE_OS_DELETE_PREALLOCATED_OBJECT (ACE_recursive_thread_mutex_t, ACE_TSS_BASE_LOCK) # endif /* ACE_HAS_TSS_EMULATION && ACE_HAS_THREAD_SPECIFIC_STORAGE */ |