summaryrefslogtreecommitdiff
path: root/demo/params.txt
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@baserock.org>2014-09-12 14:16:22 +0000
committer <>2014-10-24 11:04:40 +0000
commita77e3a63f004e6ee789fa05e4a5bbc333b1529f1 (patch)
treeefe8a68996c19b7b0765ebc689937721d1d99cf7 /demo/params.txt
downloadsysv-ipc-tarball-a77e3a63f004e6ee789fa05e4a5bbc333b1529f1.tar.gz
Imported from /home/lorry/working-area/delta_python-packages_sysv-ipc-tarball/sysv_ipc-0.6.8.tar.gz.HEADsysv_ipc-0.6.8master
Diffstat (limited to 'demo/params.txt')
-rw-r--r--demo/params.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/demo/params.txt b/demo/params.txt
new file mode 100644
index 0000000..eff48bd
--- /dev/null
+++ b/demo/params.txt
@@ -0,0 +1,18 @@
+# These parameters control how Mrs. Premise and Mrs. Conclusion behave.
+
+# ITERATIONS is the number of times they'll talk to one another.
+# LIVE_DANGEROUSLY is a Boolean (0 or 1); if set to 1 the programs
+# won't use the semaphore to coordinate access to the shared
+# memory. Corruption will likely result.
+# KEY is the key to be used for the semaphore and shared memory.
+# PERMISSIONS are in octal (note the leading 0).
+# SHM_SIZE is the size of the shared memory segment in bytes.
+
+ITERATIONS=1000
+LIVE_DANGEROUSLY=0
+KEY=42
+PERMISSIONS=0600
+SHM_SIZE=4096
+
+
+