aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorBjoern B. Brandenburg <bbb@cs.unc.edu>2008-02-19 13:09:27 -0500
committerBjoern B. Brandenburg <bbb@cs.unc.edu>2008-02-19 13:09:27 -0500
commit265952f112a27c8fbe47560b23a531f8baaf1898 (patch)
tree0a15f4313cdc368d58bff38e807b3531a4e79ffb /include/linux
parent8ce9b0cb97d9266b3b64b2b57835e17f6e03f585 (diff)
add complete_n() call to the completion API.
This is usefule for releasing exactly n tasks without having to call compete() repeatedly.
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/completion.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/completion.h b/include/linux/completion.h
index 33d6aaf944..5b55e972be 100644
--- a/include/linux/completion.h
+++ b/include/linux/completion.h
@@ -51,7 +51,7 @@ extern unsigned long wait_for_completion_interruptible_timeout(
51 51
52extern void complete(struct completion *); 52extern void complete(struct completion *);
53extern void complete_all(struct completion *); 53extern void complete_all(struct completion *);
54 54extern void complete_n(struct completion *, int n);
55#define INIT_COMPLETION(x) ((x).done = 0) 55#define INIT_COMPLETION(x) ((x).done = 0)
56 56
57#endif 57#endif