8 #ifndef OPENDDS_DCPS_THREAD_POOL_H 9 #define OPENDDS_DCPS_THREAD_POOL_H 18 #if defined ACE_HAS_PTHREADS && defined ACE_LACKS_PTHREAD_JOIN 19 #define OPENDDS_NO_THREAD_JOIN 39 typedef ACE_THR_FUNC_RETURN (*FunPtr)(
void*);
47 ThreadPool(
size_t count, FunPtr fun,
void* arg = 0);
51 static ACE_THR_FUNC_RETURN run(
void* arg);
70 #if defined OPENDDS_NO_THREAD_JOIN 71 size_t finished_threads_;
82 #endif // OPENDDS_DCPS_THREAD_POOL_H
ConditionVariable< ACE_Thread_Mutex > cv_
#define OpenDDS_Dcps_Export
#define OPENDDS_END_VERSIONED_NAMESPACE_DECL
typedef OPENDDS_VECTOR(ActionConnectionRecord) ConnectionRecords
The Internal API and Implementation of OpenDDS.
typedef OPENDDS_SET(NetworkAddress) AddrSet