table of contents
other versions
- wheezy-backports 3.16.39-1+deb8u1~bpo70+1
- jessie 3.16.43-2
KTHREAD_RUN(9) | Driver Basics | KTHREAD_RUN(9) |
NAME¶
kthread_run - create and wake a thread.SYNOPSIS¶
kthread_run(threadfn,
data, namefmt, ...);
ARGUMENTS¶
threadfnthe function to run until
signal_pending(current).
data
data ptr for threadfn.
namefmt
printf-style name for the thread.
...
variable arguments
DESCRIPTION¶
Convenient wrapper for kthread_create followed by wake_up_process. Returns the kthread or ERR_PTR(-ENOMEM).COPYRIGHT¶
February 2017 | Kernel Hackers Manual 3.16 |