diff options
Diffstat (limited to 'demo/params.txt')
-rw-r--r-- | demo/params.txt | 18 |
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 + + + |