diff options
author | Tejun Heo <tj@kernel.org> | 2010-09-10 16:51:36 +0200 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2010-09-13 10:26:52 +0200 |
commit | c54fce6eff197d9c57c97afbf6c9722ce434fc8f (patch) | |
tree | c40c9bf65638399b13c47688f20e761cdd0fa89c /include/linux/workqueue.h | |
parent | 84e1d836ef0759a152578a961894824bde89596f (diff) | |
download | op-kernel-dev-c54fce6eff197d9c57c97afbf6c9722ce434fc8f.zip op-kernel-dev-c54fce6eff197d9c57c97afbf6c9722ce434fc8f.tar.gz |
workqueue: add documentation
Update copyright notice and add Documentation/workqueue.txt.
Randy Dunlap, Dave Chinner: misc fixes.
Signed-off-by: Tejun Heo <tj@kernel.org>
Reviewed-By: Florian Mickler <florian@mickler.org>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Christoph Lameter <cl@linux-foundation.org>
Cc: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'include/linux/workqueue.h')
-rw-r--r-- | include/linux/workqueue.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/workqueue.h b/include/linux/workqueue.h index f11100f..25e02c9 100644 --- a/include/linux/workqueue.h +++ b/include/linux/workqueue.h @@ -235,6 +235,10 @@ static inline unsigned int work_static(struct work_struct *work) { return 0; } #define work_clear_pending(work) \ clear_bit(WORK_STRUCT_PENDING_BIT, work_data_bits(work)) +/* + * Workqueue flags and constants. For details, please refer to + * Documentation/workqueue.txt. + */ enum { WQ_NON_REENTRANT = 1 << 0, /* guarantee non-reentrance */ WQ_UNBOUND = 1 << 1, /* not bound to any cpu */ |