summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2013-06-19 16:05:37 +0900
committerNIIBE Yutaka <gniibe@fsij.org>2013-06-19 16:05:37 +0900
commit8447b2ba8e7caf10f0c986f629bf457d3db7c5e7 (patch)
tree49d45d000590904dbb6fcdf81109840c0c32f803
parentd2819d14dbf70c09ef3b938849445105f11e189d (diff)
declare eventflag_wait
-rw-r--r--eventflag.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/eventflag.h b/eventflag.h
index ce109f3..b218ac1 100644
--- a/eventflag.h
+++ b/eventflag.h
@@ -11,5 +11,6 @@ struct eventflag {
};
void eventflag_init (struct eventflag *ev, chopstx_t owner);
+eventmask_t eventflag_wait (struct eventflag *ev);
eventmask_t eventflag_wait_timeout (struct eventflag *ev, uint32_t usec);
void eventflag_signal (struct eventflag *ev, eventmask_t m);