summaryrefslogtreecommitdiff
path: root/libs/rs/rsThreadIO.cpp
diff options
context:
space:
mode:
author Mathias Agopian <mathias@google.com> 2009-06-05 15:45:39 -0700
committer Mathias Agopian <mathias@google.com> 2009-06-05 15:45:39 -0700
commit51c8a3e00e6cffe42d25d1ac87d417e925d8a84d (patch)
treea3c8e8f3c90fd0c1aeb661bcf9fa32a2d43649cc /libs/rs/rsThreadIO.cpp
parenteb22c5b358af775a5f1192fc248594c7a0025d56 (diff)
parente583a4ea8c90105eee9b408d39bca3a4af6a2569 (diff)
Merge commit 'goog/master' into merge_master
Diffstat (limited to 'libs/rs/rsThreadIO.cpp')
-rw-r--r--libs/rs/rsThreadIO.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/libs/rs/rsThreadIO.cpp b/libs/rs/rsThreadIO.cpp
index d5ac70b18409..23c808a6d4d0 100644
--- a/libs/rs/rsThreadIO.cpp
+++ b/libs/rs/rsThreadIO.cpp
@@ -34,12 +34,14 @@ ThreadIO::~ThreadIO()
{
}
-void ThreadIO::playCoreCommands(Context *con)
+bool ThreadIO::playCoreCommands(Context *con)
{
//LOGE("playCoreCommands 1");
uint32_t cmdID = 0;
uint32_t cmdSize = 0;
+ bool ret = false;
while(!mToCore.isEmpty()) {
+ ret = true;
//LOGE("playCoreCommands 2");
const void * data = mToCore.get(&cmdID, &cmdSize);
//LOGE("playCoreCommands 3 %i %i", cmdID, cmdSize);
@@ -50,6 +52,7 @@ void ThreadIO::playCoreCommands(Context *con)
mToCore.next();
//LOGE("playCoreCommands 5");
}
+ return ret;
}