diff options
author | Dean Nelson <dcn@sgi.com> | 2004-06-20 04:54:29 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-06-20 04:54:29 -0700 |
commit | a2816bbfb17101d2faa45c8b557da257a98fe729 (patch) | |
tree | dc484c040d1c0d521a2795f0d15fb48256dacf4d /fs/bio.c | |
parent | c87c2fe1694f4a6435eab283ac2c752a72e6dd2e (diff) | |
download | history-a2816bbfb17101d2faa45c8b557da257a98fe729.tar.gz |
[PATCH] add wait_event_interruptible_exclusive() macro
This patch defines a macro that does exactly what
wait_event_interruptible() does except that it adds the current task to the
wait queue as an exclusive task (i.e., sets the WQ_FLAG_EXCLUSIVE flag)
rather than as a non-exclusive task as wait_event_interruptible() does.
This allows one to do a wake_up_nr() to wake up a specific number of tasks.
I'm in the process of submitting a patch to linux-ia64 that requires this
capability. (Its subject line is "[PATCH 3/4] SGI Altix cross partition
functionality".)
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/bio.c')
0 files changed, 0 insertions, 0 deletions