Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / ACE / apps / JAWS3 / jaws3 / Options.h
bloba8dc9a0ee2f1d20a44b789a00b985fe3332bbf7a
1 /* -*- c++ -*- */
2 #ifndef JAWS_OPTIONS_H
3 #define JAWS_OPTIONS_H
5 #include "ace/Singleton.h"
6 #include "ace/Synch.h"
8 #include "jaws3/Export.h"
9 #include "jaws3/Config_File.h"
11 #define JAWS_DEFAULT_MIN_THYBRID_THREADS "1"
12 #define JAWS_DEFAULT_MAX_THYBRID_THREADS "-1"
13 #define JAWS_DEFAULT_TPOOL_THREADS "5"
14 #define JAWS_DEFAULT_IO "SYNCH"
15 #define JAWS_DEFAULT_CONCURRENCY "TPR"
17 class JAWS_Options;
19 class JAWS_Export JAWS_Options
21 public:
22 JAWS_Options ();
24 const char *getenv (const char *key);
26 static JAWS_Options * instance ()
28 return ACE_Singleton<JAWS_Options, ACE_SYNCH_MUTEX>::instance ();
31 private:
32 JAWS_Config_File *cf_;
35 #endif /* JAWS_OPTIONS_H */