aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/timed/README
blob: b0989bf0130ef036409c3c3d6e095f2d86eb98d2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
API usage example

This example shows how to use timed operations.



First of, run make to build this example.

To start the example run ./init.
When you are done run ./cleanup.

Running instances of ./poll will wait for new messages
continuously, but with one second timeouts.

./poll, ./init and ./cleanup are run without any
additional arguments. ./write is run with the message
as the second argument.