diff options
author | Mattias Andrée <maandree@operamail.com> | 2015-05-17 14:49:22 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2015-05-17 14:49:22 +0200 |
commit | 5411b208af6b45cd45b00f45bc135b65a7ae899f (patch) | |
tree | be4d56e8b7a3efb63018d702f327a4b7c7662fad /doc/examples/timed/README | |
parent | m (diff) | |
download | bus-5411b208af6b45cd45b00f45bc135b65a7ae899f.tar.gz bus-5411b208af6b45cd45b00f45bc135b65a7ae899f.tar.bz2 bus-5411b208af6b45cd45b00f45bc135b65a7ae899f.tar.xz |
timed write example3.1
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'doc/examples/timed/README')
-rw-r--r-- | doc/examples/timed/README | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/doc/examples/timed/README b/doc/examples/timed/README index 215a738..8293758 100644 --- a/doc/examples/timed/README +++ b/doc/examples/timed/README @@ -12,11 +12,19 @@ When you are done run ./cleanup. Running instances of ./poll will wait for new messages continuously, but with one second timeouts. +./slow-poll works like ./poll, execpt it will sleep +for one second every time it receives a message. + Running instances of ./read will read for ten seconds then time out. -./poll and ./read will stop if the message "stop" is -broadcasted. +./poll, ./read, and ./slow-poll will stop if the message +"stop" is broadcasted. + +./write will wait for atmost a tenth of a seconds before +failing. This means that if two instances of ./write is +started at the same time one of them will fail if +./slow-poll is running. ./poll, ./read, ./init and ./cleanup are run without any additional arguments. ./write is run with the message |