summaryrefslogtreecommitdiff
path: root/rsSignal.h
diff options
context:
space:
mode:
Diffstat (limited to 'rsSignal.h')
-rw-r--r--rsSignal.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/rsSignal.h b/rsSignal.h
index 2e760f15..fc318830 100644
--- a/rsSignal.h
+++ b/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;