diff options
author | Jason Sams <rjsams@android.com> | 2011-08-12 15:05:15 -0700 |
---|---|---|
committer | Jason Sams <rjsams@android.com> | 2011-08-12 15:05:15 -0700 |
commit | e0aab4a8ff1cffd8cfaedc2623db94072549e0e5 (patch) | |
tree | fee101e30cdb0adca49daf18b99fea1a8e8eb5c5 /rsSignal.h | |
parent | 1f5f9a30d71973f0c54e0142ed80740b71c720e3 (diff) | |
download | rs-e0aab4a8ff1cffd8cfaedc2623db94072549e0e5.tar.gz |
Fix the RS frame timeout.
Previous a slow app would block from receiving new
commands until the timer expired. This change will
expire the timer immediatly.
Change-Id: I42b949d21f98ee0f1d3156763cd723c3e9cabb67
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; |