diff options
author | bala <bala@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-03-25 04:10:03 +0000 |
---|---|---|
committer | bala <bala@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-03-25 04:10:03 +0000 |
commit | 399cec64636d418e31606e0cb99408bc5e38891e (patch) | |
tree | 2ab581c4880981d0c4fdab4f3e5fd581f671aa58 /ace | |
parent | 82f818cc3ea79154dbb22e3faf8b68421946110e (diff) | |
download | ATCD-399cec64636d418e31606e0cb99408bc5e38891e.tar.gz |
ChangeLogTag: Mon Mar 24 22:05:56 2003 Balachandran Natarajan <bala@isis-server.isis.vanderbilt.edu>
Diffstat (limited to 'ace')
-rw-r--r-- | ace/Connector.cpp | 5 | ||||
-rw-r--r-- | ace/Default_Constants.h | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/ace/Connector.cpp b/ace/Connector.cpp index 2e00fac20c7..57f5046e76c 100644 --- a/ace/Connector.cpp +++ b/ace/Connector.cpp @@ -142,6 +142,11 @@ ACE_Connector<SVC_HANDLER, ACE_PEER_CONNECTOR_2>::open (ACE_Reactor *r, int flag template <class SVC_HANDLER, ACE_PEER_CONNECTOR_1> ACE_Connector<SVC_HANDLER, ACE_PEER_CONNECTOR_2>::ACE_Connector (ACE_Reactor *r, int flags) + : handler_map_ (ACE_CONNECTOR_HANDLER_MAP_SIZE) + , connector_ () + , closing_ (0) + , flags_ (0) + , mutex_ () { ACE_TRACE ("ACE_Connector<SVC_HANDLER, ACE_PEER_CONNECTOR_2>::ACE_Connector"); (void) this->open (r, flags); diff --git a/ace/Default_Constants.h b/ace/Default_Constants.h index 37f35c34fba..e8e851e6c37 100644 --- a/ace/Default_Constants.h +++ b/ace/Default_Constants.h @@ -381,6 +381,9 @@ #define ACE_DEFAULT_CDR_MEMCPY_TRADEOFF 256 #endif /* ACE_DEFAULT_CDR_MEMCPY_TRADEOFF */ +#if !defined (ACE_CONNECTOR_HANDLER_MAP_SIZE) +const size_t ACE_CONNECTOR_HANDLER_MAP_SIZE = 16; +#endif /*ACE_CONNECTOR_HANDLER_MAP_SIZE*/ #include "ace/post.h" #endif /*ACE_DEFAULT_CONSTANTS_H*/ |