summaryrefslogtreecommitdiff
path: root/tools/u_boot_pylib/test_util.py
diff options
context:
space:
mode:
authorJerome Forissier <jerome.forissier@linaro.org>2025-04-18 16:09:37 +0200
committerTom Rini <trini@konsulko.com>2025-04-23 13:19:44 -0600
commit2325621fff219ee3b80641f714545f8b33013c0c (patch)
treeac412db17bc7a6e4bf1d823cd8e384d5b7bf812e /tools/u_boot_pylib/test_util.py
parente831370af5102d8059d4f20d3317e2c39565e9af (diff)
lib: time: hook uthread_schedule() into udelay()
Introduce a uthread scheduling loop into udelay() when CONFIG_UTHREAD is enabled. This means that any uthread calling into udelay() may yield to uthread and be scheduled again later. There is no delay in the scheduling loop because tests have shown that such a delay can have a detrimental effect on the console (input drops characters). Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Diffstat (limited to 'tools/u_boot_pylib/test_util.py')
0 files changed, 0 insertions, 0 deletions