1 #include <linux/workqueue.h>
5 struct workqueue_struct * create_workqueue(name);
6 void destroy_workqueue(struct workqueue_struct *);
7 /* A função acima aguarda tarefas na fila. */
14 DECLARE_WORK(varname, function);
15 void function(struct work_struct *work);
16 int queue_work(wq, work); /* Queue work on the current CPU */