summaryrefslogtreecommitdiff
path: root/libs/utils/Threads.cpp
diff options
context:
space:
mode:
author Jean-Baptiste Queru <jbq@google.com> 2012-01-19 14:41:56 -0800
committer android code review <noreply-gerritcodereview@google.com> 2012-01-19 14:41:57 -0800
commitf98b6fd3f51a5067196d85b102a95e8289daae01 (patch)
treeb4c233c1b056fcefb7fbfd1181db5a64af2d8c4f /libs/utils/Threads.cpp
parentdcee50eeeff5d0665eb20021a934beef93f1c7b2 (diff)
parent00469f19408b3af36c3bf0fc0d2c07157f546bb9 (diff)
Merge "Rename (IF_)LOG() to (IF_)ALOG()"
Diffstat (limited to 'libs/utils/Threads.cpp')
-rw-r--r--libs/utils/Threads.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/utils/Threads.cpp b/libs/utils/Threads.cpp
index 5dbcb75b06..fe4b8e62b2 100644
--- a/libs/utils/Threads.cpp
+++ b/libs/utils/Threads.cpp
@@ -205,7 +205,7 @@ static __stdcall unsigned int threadIntermediary(void* vDetails)
delete pDetails;
- LOG(LOG_VERBOSE, "thread", "thread exiting\n");
+ ALOG(LOG_VERBOSE, "thread", "thread exiting\n");
return (unsigned int) result;
}
@@ -232,7 +232,7 @@ static bool doCreateThread(android_thread_func_t fn, void* arg, android_thread_i
if (hThread == NULL)
#endif
{
- LOG(LOG_WARN, "thread", "WARNING: thread create failed\n");
+ ALOG(LOG_WARN, "thread", "WARNING: thread create failed\n");
return false;
}
@@ -470,7 +470,7 @@ status_t Mutex::lock()
void Mutex::unlock()
{
if (!ReleaseMutex((HANDLE) mState))
- LOG(LOG_WARN, "thread", "WARNING: bad result from unlocking mutex\n");
+ ALOG(LOG_WARN, "thread", "WARNING: bad result from unlocking mutex\n");
}
status_t Mutex::tryLock()
@@ -479,7 +479,7 @@ status_t Mutex::tryLock()
dwWaitResult = WaitForSingleObject((HANDLE) mState, 0);
if (dwWaitResult != WAIT_OBJECT_0 && dwWaitResult != WAIT_TIMEOUT)
- LOG(LOG_WARN, "thread", "WARNING: bad result from try-locking mutex\n");
+ ALOG(LOG_WARN, "thread", "WARNING: bad result from try-locking mutex\n");
return (dwWaitResult == WAIT_OBJECT_0) ? 0 : -1;
}