1KTHREAD_RUN(9) Driver Basics KTHREAD_RUN(9)
2
3
4
6 kthread_run - create and wake a thread.
7
9 kthread_run(threadfn, data, namefmt, ...);
10
12 threadfn
13 the function to run until signal_pending(current).
14
15 data
16 data ptr for threadfn.
17
18 namefmt
19 printf-style name for the thread.
20
21 ...
22 variable arguments
23
25 Convenient wrapper for kthread_create followed by wake_up_process.
26 Returns the kthread or ERR_PTR(-ENOMEM).
27
29Kernel Hackers Manual 2.6. November 2011 KTHREAD_RUN(9)