aboutsummaryrefslogtreecommitdiff
path: root/externals/ace/Logging_Strategy.cpp
diff options
context:
space:
mode:
authorclick <none@none>2010-08-15 00:28:14 +0200
committerclick <none@none>2010-08-15 00:28:14 +0200
commite3b8a5923d5e5512cfe6e0f02246d22146691008 (patch)
treec7bed4a5667148d73b75ab62eae9695eb10cad49 /externals/ace/Logging_Strategy.cpp
parentf3b93df6b70648fdd644c6e0db24089dca34738e (diff)
Core/externals: Update ACE to 5.8.1 (should fix issues with disconnects happening on servers compiled under VS2010)
Update issue 3411 Status: NeedsFeedback --HG-- branch : trunk
Diffstat (limited to 'externals/ace/Logging_Strategy.cpp')
-rw-r--r--externals/ace/Logging_Strategy.cpp13
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;
+}