mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-19 08:55:22 +00:00
The headings on some .rst files were not following the expected heading order of using # for h1, * for h2, = for h3, and - for h4 This patch fixes that, and the doc/templates/*.tmpl files created for folks to use as templates for creating board and sample docs. Change-Id: I0263b005648558d5ea41a681ceaa4798c9594dd9 Signed-off-by: David B. Kinder <david.b.kinder@intel.com> |
||
---|---|---|
.. | ||
src | ||
Makefile | ||
prj.conf | ||
README.rst | ||
sample.tc | ||
testcase.ini |
.. _synchronization_sample: Synchronization Sample ###################### Overview ******** A simple application that demonstates basic sanity of the kernel. Two threads (A and B) take turns printing a greeting message to the console, and use sleep requests and semaphores to control the rate at which messages are generated. This demonstrates that kernel scheduling, communication, and timing are operating correctly. Building and Running ******************** This project outputs to the console. It can be built and executed on QEMU as follows: .. code-block:: console $ cd samples/synchronization $ make run Sample Output ============= .. code-block:: console threadA: Hello World! threadB: Hello World! threadA: Hello World! threadB: Hello World! threadA: Hello World! threadB: Hello World! threadA: Hello World! threadB: Hello World! threadA: Hello World! threadB: Hello World! <repeats endlessly>