From: Chih-En Lin Date: Sat, 2 Jul 2022 13:58:50 +0000 (+0800) Subject: Adjust "in the mean time" description of tasklet X-Git-Tag: latest~57^2 X-Git-Url: https://www.ivnss.com/gitweb/?a=commitdiff_plain;h=87bd9ceb341fec91a994ec3e91360fc53ee8e72b;p=lkmpg 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 --- 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}