u-boot/doc/api/uthread.rst
Jerome Forissier 67b1b1ae19 test: lib: add uthread test
Add a thread framework test to the lib tests. Update the API
documentation to use the test as an example.

Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
2025-04-23 13:19:44 -06:00

20 lines
308 B
ReStructuredText

.. SPDX-License-Identifier: GPL-2.0-or-later
Uthread API
===========
.. kernel-doc:: include/uthread.h
:doc: Overview
.. kernel-doc:: include/uthread.h
:internal:
Example
-------
Here is an example of how to use this API:
.. literalinclude:: ../../test/lib/uthread.c
:language: c
:linenos: