Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / tao / CSD_ThreadPool / CSD_ThreadPool.h
blobed1f42dd674b2837e6dad7dbe37bcb788a6fafa4
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file CSD_ThreadPool.h
7 * @author Tim Bradley <bradley_t@ociweb.com>
8 */
9 //=============================================================================
11 #ifndef TAO_CSD_THREADPOOL_H
12 #define TAO_CSD_THREADPOOL_H
14 #include /**/ "ace/pre.h"
16 #include "tao/CSD_ThreadPool/CSD_TP_Export.h"
17 #include "tao/Versioned_Namespace.h"
20 #if !defined (ACE_LACKS_PRAGMA_ONCE)
21 # pragma once
22 #endif /* ACE_LACKS_PRAGMA_ONCE */
24 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
26 /**
27 * @class TAO_CSD_ThreadPool
29 * @brief the static initializer for the CSD Thread Pool library
31 * The loader appears to be born of the CSD_TP_Factory, which is the
32 * real service object. This separation seems to be necesary to ensure
33 * the CSD_Framework gets loaded prior to initializing the TP Factory.
35 class TAO_CSD_TP_Export TAO_CSD_ThreadPool
37 public:
38 /// Used to force the initialization of the ORB code.
39 static int init ();
42 static int
43 TAO_Requires_CSD_Threadpool =
44 TAO_CSD_ThreadPool::init ();
46 TAO_END_VERSIONED_NAMESPACE_DECL
48 #include /**/ "ace/post.h"
50 #endif /* TAO_CSD_THREADPOOL_H */