summaryrefslogtreecommitdiff
path: root/demo/params.txt
blob: eff48bd9afd32d25a3b9762a0600ea36b0801235 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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