summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/ESF/ESF_Defaults.h
blob: 77846dcee446f122334f6ca81aa3feb8cdc1f42d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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 */