summaryrefslogtreecommitdiffstats
path: root/libs/rs/rsSignal.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/rs/rsSignal.h')
-rw-r--r--libs/rs/rsSignal.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/libs/rs/rsSignal.h b/libs/rs/rsSignal.h
index 2e760f1..fc31883 100644
--- a/libs/rs/rsSignal.h
+++ b/libs/rs/rsSignal.h
@@ -31,7 +31,10 @@ public:
bool init();
void set();
- void wait();
+
+ // returns true if the signal occured
+ // false for timeout
+ bool wait(uint64_t timeout = 0);
protected:
bool mSet;