From 87bd9ceb341fec91a994ec3e91360fc53ee8e72b Mon Sep 17 00:00:00 2001 From: Chih-En Lin Date: Sat, 2 Jul 2022 21:58:50 +0800 Subject: [PATCH] Adjust "in the mean time" description of tasklet Since the init function may be interrupted. Tweak the description of "in the mean time". Close #152 --- lkmpg.tex | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lkmpg.tex b/lkmpg.tex index e460614..5f7b9a1 100644 --- a/lkmpg.tex +++ b/lkmpg.tex @@ -1763,7 +1763,8 @@ For example, when triggered from an interrupt, whereas work queues are more comp \subsection{Tasklets} \label{sec:tasklet} Here is an example tasklet module. -The \cpp|tasklet_fn| function runs for a few seconds and in the mean time execution of the \cpp|example_tasklet_init| function continues to the exit point. +The \cpp|tasklet_fn| function runs for a few seconds. +In the meantime, execution of the \cpp|example_tasklet_init| function may continue to the exit point, depending on whether it is interrupted by \textbf{softirq}. \samplec{examples/example_tasklet.c} -- 2.39.5