diff options
author | Jason Sams <rjsams@android.com> | 2011-09-13 15:41:01 -0700 |
---|---|---|
committer | Jason Sams <rjsams@android.com> | 2011-09-13 15:41:01 -0700 |
commit | 5316b9eead0c29df36f46d29c17914bc3c61ed9f (patch) | |
tree | bab39b823aaffa5d97014690fbc84505543b5a7a /libs/rs/rsLocklessFifo.h | |
parent | 53fc3e18675d47face40b4726414fdc4aacb7d2f (diff) | |
download | frameworks_base-5316b9eead0c29df36f46d29c17914bc3c61ed9f.zip frameworks_base-5316b9eead0c29df36f46d29c17914bc3c61ed9f.tar.gz frameworks_base-5316b9eead0c29df36f46d29c17914bc3c61ed9f.tar.bz2 |
Add RS watchdog.
Change-Id: I4c912beb84fa8a37ada0088049f7776132e994b6
Diffstat (limited to 'libs/rs/rsLocklessFifo.h')
-rw-r--r-- | libs/rs/rsLocklessFifo.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/rs/rsLocklessFifo.h b/libs/rs/rsLocklessFifo.h index fa53d40..dafc512 100644 --- a/libs/rs/rsLocklessFifo.h +++ b/libs/rs/rsLocklessFifo.h @@ -34,6 +34,7 @@ class LocklessCommandFifo { public: bool init(uint32_t size); void shutdown(); + void setTimoutCallback(void (*)(void *), void *, uint64_t timeout); void printDebugData() const; @@ -71,6 +72,10 @@ public: private: void dumpState(const char *) const; + + void (*mTimeoutCallback)(void *); + void * mTimeoutCallbackData; + uint64_t mTimeoutWait; }; |