2 #ifndef JAWS_TPOOL_CONCURRENCY_H
3 #define JAWS_TPOOL_CONCURRENCY_H
5 #include "jaws3/Concurrency.h"
7 class JAWS_Export JAWS_TPOOL_Concurrency
: public JAWS_Concurrency_Impl
10 JAWS_TPOOL_Concurrency ();
12 int putq (JAWS_Protocol_Handler
*ph
);
14 int getq (JAWS_Protocol_Handler
*&ph
);
16 static JAWS_TPOOL_Concurrency
* instance ()
18 return ACE_Singleton
<JAWS_TPOOL_Concurrency
, ACE_SYNCH_MUTEX
>::instance ();
22 int number_of_threads_
;
27 #endif /* JAWS_TPOOL_CONCURRENCY_H */