workqueue_task Struct Reference
[Work Queue Processing]

Task to be run from a work queue. More...

#include <workqueue.h>

Collaboration diagram for workqueue_task:
Collaboration graph
[legend]

Data Fields

workqueue_func_t worker
 Function implementing the task.
struct slist_node node
 Node in the work queue task list.

Detailed Description

Task to be run from a work queue.

This structure may be embedded into another struct containing data specific to the task. The container_of() macro is useful for accessing the task-specific data.

Definition at line 72 of file workqueue.h.


Field Documentation

Node in the work queue task list.

Definition at line 74 of file workqueue.h.

Referenced by workqueue_pop_task(), workqueue_task_init(), and workqueue_task_is_queued().

Function implementing the task.

Definition at line 73 of file workqueue.h.

Referenced by workqueue_run_task(), and workqueue_task_set_work_func().


The documentation for this struct was generated from the following file:
Generated on Thu Apr 29 14:10:37 2010 for xplain-bc by  doxygen 1.6.3