Michael Blizek wrote:
On 06:29 Mon 15 Sep , Himanshu Chauhan wrote:
I would Workqueues. For creating a thread and making it sleep *properly*
needs a lot of work. Workqueue's infrastructure has already done it for
you. You can create your own work queue if you dont' want to use the
default provided by the kernel.
Do you have to do more than use waitqueues to make a kernel thread sleep
properly?
You don't. But when you are using workqueues don't have to worry
anything else than the function that would be doing the work. Why take
unnecessary work?
-Himanshu
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ