mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-08-14 03:06:59 +02:00
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>
20 lines
308 B
ReStructuredText
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:
|