summaryrefslogtreecommitdiff
path: root/libs/rs/rsThreadIO.cpp
diff options
context:
space:
mode:
authorJason Sams <rjsams@android.com>2009-06-23 12:22:47 -0700
committerJason Sams <rjsams@android.com>2009-06-23 12:22:47 -0700
commitf29ca50d80e3dc379de1642e85b7963175b2ca38 (patch)
tree17854358cfe316c08dbf5c80f8af8b0c7849bc33 /libs/rs/rsThreadIO.cpp
parentf8001669ba7d9b3d0e097c7124e670f13374a6c7 (diff)
Cleanup logging and fix a startup race condition that manifested on Firestone.
Diffstat (limited to 'libs/rs/rsThreadIO.cpp')
-rw-r--r--libs/rs/rsThreadIO.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/libs/rs/rsThreadIO.cpp b/libs/rs/rsThreadIO.cpp
index 5f62ad1cda9f..89df59dc80cb 100644
--- a/libs/rs/rsThreadIO.cpp
+++ b/libs/rs/rsThreadIO.cpp
@@ -34,22 +34,17 @@ ThreadIO::~ThreadIO()
bool ThreadIO::playCoreCommands(Context *con, bool waitForCommand)
{
- //LOGE("playCoreCommands 1");
uint32_t cmdID = 0;
uint32_t cmdSize = 0;
bool ret = false;
while(!mToCore.isEmpty() || waitForCommand) {
ret = true;
- //LOGE("playCoreCommands 2");
const void * data = mToCore.get(&cmdID, &cmdSize);
waitForCommand = false;
- //LOGE("playCoreCommands 3 %i %i", cmdID, cmdSize);
+ //LOGV("playCoreCommands 3 %i %i", cmdID, cmdSize);
gPlaybackFuncs[cmdID](con, data);
- //LOGE("playCoreCommands 4");
-
mToCore.next();
- //LOGE("playCoreCommands 5");
}
return ret;
}