diff options
author | Lorry Tar Creator <lorry-tar-importer@baserock.org> | 2014-02-21 04:46:49 +0000 |
---|---|---|
committer | <> | 2014-08-04 21:38:17 +0000 |
commit | f3765db04b903b3671733e07cf1541a51966dd14 (patch) | |
tree | defcc3c47d9b8bd78b97dcc04ee779a758d37b1c /demo/params.txt | |
download | posix-ipc-tarball-f3765db04b903b3671733e07cf1541a51966dd14.tar.gz |
Imported from /home/lorry/working-area/delta_python-packages_posix-ipc-tarball/posix_ipc-0.9.8.tar.gz.HEADposix_ipc-0.9.8master
Diffstat (limited to 'demo/params.txt')
-rw-r--r-- | demo/params.txt | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/demo/params.txt b/demo/params.txt new file mode 100644 index 0000000..dc468c6 --- /dev/null +++ b/demo/params.txt @@ -0,0 +1,20 @@ +# 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. +# SEMAPHORE_NAME is the name to be used for the semaphore. +# SHARED_MEMORY_NAME is the name to be used for the 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 +SEMAPHORE_NAME=/wuthering_heights +SHARED_MEMORY_NAME=/four_yorkshiremen +PERMISSIONS=0600 +SHM_SIZE=4096 + + + |