diff options
author | jeliazkov_i <jeliazkov_i@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2006-04-26 21:21:54 +0000 |
---|---|---|
committer | jeliazkov_i <jeliazkov_i@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2006-04-26 21:21:54 +0000 |
commit | 1eb32850ac74670c4baf84f7113119e596016e60 (patch) | |
tree | a9b9968661496861e290f57b51d11264f75c299f /TAO/tao/default_resource.h | |
parent | b9a9a05f27a7afd4b57329b9409385f9bff0a754 (diff) | |
download | ATCD-1eb32850ac74670c4baf84f7113119e596016e60.tar.gz |
ChangeLogTag: Wed Apr 26 20:21:49 UTC 2006 Iliyan Jeliazkov <iliyan@ociweb.com>
Diffstat (limited to 'TAO/tao/default_resource.h')
-rw-r--r-- | TAO/tao/default_resource.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/TAO/tao/default_resource.h b/TAO/tao/default_resource.h index aef5e545fd7..8f022479fc5 100644 --- a/TAO/tao/default_resource.h +++ b/TAO/tao/default_resource.h @@ -17,6 +17,7 @@ #include /**/ "ace/pre.h" #include "ace/Service_Config.h" +#include "ace/Dynamic_Service_Dependency.h" #if !defined (ACE_LACKS_PRAGMA_ONCE) # pragma once @@ -257,6 +258,12 @@ private: /// Flag to indicate whether replies should be dropped during ORB /// shutdown. bool drop_replies_; + + // Makes a dependency on a specific dynamic service ("TAO_Codeset") explicit. + // It helps to keep the corresponding DLL around until the last instance + // is destroyed. Note that failure to delete the instances will "pin" the + // DLL in memory, preventing it from being unloaded on demand. + ACE_Dynamic_Service_Dependency *principal_; }; TAO_END_VERSIONED_NAMESPACE_DECL |