diff options
author | click <none@none> | 2010-08-16 11:23:20 +0200 |
---|---|---|
committer | click <none@none> | 2010-08-16 11:23:20 +0200 |
commit | 29c2520506e12bbae669fbd190901443eca2f2a5 (patch) | |
tree | 9073ecd189c4d7ce3123469f655f3ffc61ba163f /externals/ace/Logging_Strategy.cpp | |
parent | b4bef54b7a6be1b25d670c3f630b1c4370da7757 (diff) |
Core/external : Reinstate ACE 5.8.1 (tested and building)
--HG--
branch : trunk
Diffstat (limited to 'externals/ace/Logging_Strategy.cpp')
-rw-r--r-- | externals/ace/Logging_Strategy.cpp | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/externals/ace/Logging_Strategy.cpp b/externals/ace/Logging_Strategy.cpp index 1b868d6f696..04899f74dad 100644 --- a/externals/ace/Logging_Strategy.cpp +++ b/externals/ace/Logging_Strategy.cpp @@ -1,8 +1,9 @@ -// $Id: Logging_Strategy.cpp 89512 2010-03-17 14:42:24Z vzykov $ +// $Id: Logging_Strategy.cpp 90712 2010-06-18 20:01:29Z shuston $ #include "ace/Logging_Strategy.h" #include "ace/Service_Config.h" #include "ace/ACE.h" +#include "ace/ACE_export.h" #include "ace/Get_Opt.h" // FUZZ: disable check_for_streams_include @@ -17,7 +18,7 @@ ACE_RCSID (ace, Logging_Strategy, - "$Id: Logging_Strategy.cpp 89512 2010-03-17 14:42:24Z vzykov $") + "$Id: Logging_Strategy.cpp 90712 2010-06-18 20:01:29Z shuston $") ACE_BEGIN_VERSIONED_NAMESPACE_DECL @@ -603,3 +604,11 @@ ACE_STATIC_SVC_DEFINE (ACE_Logging_Strategy, 0) ACE_FACTORY_DEFINE (ACE, ACE_Logging_Strategy) + +// _get_dll_unload_policy() prevents ACE from being unloaded and having its +// framework components run down if/when the Logging Strategy is unloaded. +extern "C" ACE_Export int +_get_dll_unload_policy() +{ + return ACE_DLL_UNLOAD_POLICY_LAZY; +} |