summaryrefslogtreecommitdiffstats
path: root/libs/rs/rsLocklessFifo.h
diff options
context:
space:
mode:
authorJason Sams <rjsams@android.com>2010-08-18 12:38:03 -0700
committerJason Sams <rjsams@android.com>2010-08-18 12:38:03 -0700
commitd0cb106ff27d535365215ac3830c67239c7b5ced (patch)
treedd0cc7cc7bb5e312388a22c7fa05a4def54fcd43 /libs/rs/rsLocklessFifo.h
parentd78be37d81f6c1aba75180c7608753a027a881ee (diff)
downloadframeworks_base-d0cb106ff27d535365215ac3830c67239c7b5ced.zip
frameworks_base-d0cb106ff27d535365215ac3830c67239c7b5ced.tar.gz
frameworks_base-d0cb106ff27d535365215ac3830c67239c7b5ced.tar.bz2
Fix bug looping non-blocking fifos.
Change-Id: I33dcf575466bfef672af4e113ad692397b5213e9
Diffstat (limited to 'libs/rs/rsLocklessFifo.h')
-rw-r--r--libs/rs/rsLocklessFifo.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/rs/rsLocklessFifo.h b/libs/rs/rsLocklessFifo.h
index ae906ca..b8ceeed 100644
--- a/libs/rs/rsLocklessFifo.h
+++ b/libs/rs/rsLocklessFifo.h
@@ -62,6 +62,7 @@ public:
void next();
void makeSpace(uint32_t bytes);
+ bool makeSpaceNonBlocking(uint32_t bytes);
bool isEmpty() const;
uint32_t getFreeSpace() const;