summaryrefslogtreecommitdiffstats
path: root/libs/utils/Threads.cpp
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2011-10-12 17:27:03 +0100
committerSteve Block <steveblock@google.com>2011-10-25 16:28:24 +0100
commit9f760150f6e0f39b9923cfdc875373606839ee00 (patch)
treeebb4861bf3dab832d6c6e19a6a7fe9615bd15a91 /libs/utils/Threads.cpp
parentae83b8ee9bd5db63f14a9c8d6570a65b66197c2e (diff)
downloadframeworks_native-9f760150f6e0f39b9923cfdc875373606839ee00.zip
frameworks_native-9f760150f6e0f39b9923cfdc875373606839ee00.tar.gz
frameworks_native-9f760150f6e0f39b9923cfdc875373606839ee00.tar.bz2
Rename (IF_)LOG() to (IF_)ALOG() DO NOT MERGE
See https://android-git.corp.google.com/g/#/c/141576 Bug: 5449033 Change-Id: I42575e7c29cf1c0f465c357a5c97ab118df6f473
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 5dbcb75..fe4b8e6 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;
}