summaryrefslogtreecommitdiffstats
path: root/mak
diff options
context:
space:
mode:
authorjim.wunderlich <jim.wunderlich>2005-06-08 04:20:24 +0000
committerjim.wunderlich <jim.wunderlich>2005-06-08 04:20:24 +0000
commit83cb2957f82de2ee48f6ef56d8c63604453750b3 (patch)
tree380ba755d5c504f65675b004806252cef63c406e /mak
parent6735f73fc6c50706f0b97e7cf9c1b3ec4794cbde (diff)
downloadtog-pegasus-83cb2957f82de2ee48f6ef56d8c63604453750b3.zip
tog-pegasus-83cb2957f82de2ee48f6ef56d8c63604453750b3.tar.gz
tog-pegasus-83cb2957f82de2ee48f6ef56d8c63604453750b3.tar.xz
BUG#: 3072
TITLE: cimserver crashs after many indications delivered DESCRIPTION: - added the build config variable PEGASUS_MAX_THREADS_PER_SVC_QUEUE and MAX_THREADS_PER_SVC_QUEUE
Diffstat (limited to 'mak')
-rw-r--r--mak/config.mak25
1 files changed, 24 insertions, 1 deletions
diff --git a/mak/config.mak b/mak/config.mak
index bb21f4d..52059ca 100644
--- a/mak/config.mak
+++ b/mak/config.mak
@@ -247,7 +247,6 @@ $(DIFF) $(1).tmp $(2).tmp $(NL) \
$(RM) -f $(1).tmp $(NL) \
$(RM) -f $(2).tmp $(NL)
-
################################################################################
##
## Attempt to include a platform configuration file:
@@ -271,6 +270,30 @@ endif
##
################################################################################
+
+################################################################################
+##
+## PEGASUS_MAX_THREADS_PER_SVC_QUEUE
+##
+## Controls the maximum number of threads allowed per message service queue.
+## It is allowed to range between 1 and MAX_THREADS_PER_SVC_QUEUE_LIMIT
+## as set in pegasus/src/Pegasus/Common/MessageQueueService.cpp.
+##
+## defaults to 0 (zero)
+##
+## if set to 0 (zero) the max threads per service queue is then
+## set to MAX_THREADS_PER_SVC_QUEUE_LIMIT.
+## if set larger than the MAX_THREADS_PER_SVC_QUEUE_LIMIT it is set to it.
+##
+##
+
+ifdef PEGASUS_MAX_THREADS_PER_SVC_QUEUE
+ DEFINES += -DMAX_THREADS_PER_SVC_QUEUE=$(PEGASUS_MAX_THREADS_PER_SVC_QUEUE)
+else
+ DEFINES += -DMAX_THREADS_PER_SVC_QUEUE=0
+endif
+
+
# Setup the conditional compile for client displays.
#
ifdef PEGASUS_CLIENT_TRACE_ENABLE