diff options
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/ESF/ESF_Defaults.h')
-rw-r--r-- | TAO/orbsvcs/orbsvcs/ESF/ESF_Defaults.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/TAO/orbsvcs/orbsvcs/ESF/ESF_Defaults.h b/TAO/orbsvcs/orbsvcs/ESF/ESF_Defaults.h new file mode 100644 index 00000000000..77846dcee44 --- /dev/null +++ b/TAO/orbsvcs/orbsvcs/ESF/ESF_Defaults.h @@ -0,0 +1,42 @@ +/* -*- C++ -*- */ +// $Id$ +// +// ============================================================================ +// +// = LIBRARY +// ORBSVCS Event Service Framework +// +// = FILENAME +// ESF_Defaults +// +// = DESCRIPTION +// In this file we set the compile time defaults for the framework. +// +// = AUTHOR +// Carlos O'Ryan (coryan@cs.wustl.edu) +// +// ============================================================================ + +#ifndef TAO_ESF_DEFAULTS_H +#define TAO_ESF_DEFAULTS_H + +#ifndef TAO_ESF_ENABLE_DEBUG_MESSAGES +#define TAO_ESF_ENABLE_DEBUG_MESSAGES 0 +#endif /* TAO_ESF_ENABLE_DEBUG_MESSAGES */ + +// Control the maximum degree of concurrency tolerated by the EC, some +// kind of limit is required to avoid starvation of delayed write +// operations. +#ifndef TAO_ESF_DEFAULT_BUSY_HWM +# define TAO_ESF_DEFAULT_BUSY_HWM 1024 +#endif /* TAO_ESF_DEFAULT_BUSY_HWM */ + +#ifndef TAO_ESF_DEFAULT_MAX_WRITE_DELAY +# define TAO_ESF_DEFAULT_MAX_WRITE_DELAY 2048 +#endif /* TAO_ESF_DEFAULT_MAX_WRITE_DELAY */ + +#ifndef TAO_ESF_DEFAULT_ORB_ID +# define TAO_ESF_DEFAULT_ORB_ID "" /* */ +#endif /* TAO_ESF_DEFAULT_ORB_ID */ + +#endif /* TAO_ESF_DEFAULTS_H */ |