Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / ACE / apps / JAWS3 / jaws3 / TPOOL_Concurrency.h
blob06af9e1b5b3aa5867f70fa489b68e0aff650fae0
1 /* -*- c++ -*- */
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
9 public:
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 ();
21 private:
22 int number_of_threads_;
23 int shutdown_task_;
24 int error_;
27 #endif /* JAWS_TPOOL_CONCURRENCY_H */