summaryrefslogtreecommitdiff
path: root/ACE/tests/Service_Config_Test.conf
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/tests/Service_Config_Test.conf')
-rw-r--r--ACE/tests/Service_Config_Test.conf22
1 files changed, 22 insertions, 0 deletions
diff --git a/ACE/tests/Service_Config_Test.conf b/ACE/tests/Service_Config_Test.conf
new file mode 100644
index 00000000000..04ba7d10519
--- /dev/null
+++ b/ACE/tests/Service_Config_Test.conf
@@ -0,0 +1,22 @@
+# Dynamically loading each of the Service Objects below causes a
+# number of threads to be spawned, each one invoking the Service
+# Configurator (e.g. ACE_Service_Config::process_directive(). If the
+# Service Configurator is thread safe and reentrant, then parsing of
+# this `Service_Config_Test.conf' file should run to completion
+# without error.
+#
+dynamic Logger Service_Object * ACE:_make_ACE_Logging_Strategy() "-w -s foobar -f STDERR|OSTREAM|VERBOSE"
+# Test_Object_1 will cause Test_Object_2 and Test_Object_3 to be
+# dynamically loaded. Dynamic loading of each of object will occur in
+# a separate thread.
+dynamic Test_Object_1 Service_Object * Service_Config_DLL:_make_Service_Config_DLL() "2 3"
+
+# Test_Object_4 will cause Test_Object_5 and Test_Object_6 to be
+# dynamically loaded. Dynamic loading of each of object will occur in
+# a separate thread.
+dynamic Test_Object_4 Service_Object * Service_Config_DLL:_make_Service_Config_DLL() "5 6"
+
+# Final_Object does nothing but print a completion message.
+dynamic Final_Object Service_Object * Service_Config_DLL:_make_Service_Config_DLL() "FINAL"
+
+remove Logger