diff options
Diffstat (limited to 'rsSignal.h')
-rw-r--r-- | rsSignal.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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; |