The classical concurrency example of the eating philosophers is compiled as part of a normal build of the library.
The files:
messaging-cells/src/tests/main.mk
messaging-cells/src/tests/nil_host/nil_host.mk
messaging-cells/src/tests/eating_philo/philo_eph.mk
messaging-cells/src/tests/eating_philo/philo_emu.mk
are the ones needed to generate the files:
messaging-cells/src/tests/bin/nil-host.elf
messaging-cells/src/tests/bin/philo_eph.elf
messaging-cells/src/tests/bin/philo_emu.elf
that get called by messaging-cells/philo.sh
and optionally messaging-cells/emu_philo.sh
Just call messaging-cells/philo.sh
The output will be written to the logs in:
messaging-cells/src/tests/bin/log_*
files.
One per core.
Do not forget to read the example documentation in the Library Documentation.