kthread, timer

This commit is contained in:
Ciro Santilli
2017-05-16 09:26:08 +01:00
parent 39d041484d
commit f367ffc6cf
6 changed files with 137 additions and 10 deletions

View File

@@ -10,6 +10,8 @@ Creates a separate thread. So init_module can return, but some work will still g
Can't call this just workqueue.c because there is already a built-in with that name:
https://unix.stackexchange.com/questions/364956/how-can-insmod-fail-with-kernel-module-is-already-loaded-even-is-lsmod-does-not
Workqueues are a convenience frontend for kthreads.
Bibliography:
- https://www.ibm.com/developerworks/library/l-tasklets/