00001 // $Id: CSD_ThreadPool.cpp 79209 2007-08-05 18:58:56Z johnnyw $ 00002 00003 #include "tao/CSD_ThreadPool/CSD_ThreadPool.h" 00004 #include "tao/CSD_ThreadPool/CSD_TP_Strategy_Factory.h" 00005 #include "tao/CSD_Framework/CSD_Framework_Loader.h" 00006 #include "tao/debug.h" 00007 #include "ace/Dynamic_Service.h" 00008 00009 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00010 00011 int 00012 TAO_CSD_ThreadPool::init (void) 00013 { 00014 static int initialized = 0; 00015 if (initialized == 1) 00016 return 0; 00017 initialized = 1; 00018 00019 TAO_CSD_Framework_Loader::static_init(); 00020 return ACE_Service_Config::process_directive (ace_svc_desc_TAO_CSD_TP_Strategy_Factory); 00021 } 00022 00023 TAO_END_VERSIONED_NAMESPACE_DECL