aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2014-05-28 22:00:50 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-05-28 22:00:50 +0000
commitdc3fb119497382fc8d9c3b87c5ef8321141330dc (patch)
tree1276e166f372754b6494e5e244266acaab7900e8
parent8a405b027a9c8b3a614016f4824a03fa252e9e1e (diff)
parentff03a7aaade5826e3708f6e320d0612d4cdbdb72 (diff)
downloadandroid_bionic-dc3fb119497382fc8d9c3b87c5ef8321141330dc.tar.gz
android_bionic-dc3fb119497382fc8d9c3b87c5ef8321141330dc.tar.bz2
android_bionic-dc3fb119497382fc8d9c3b87c5ef8321141330dc.zip
Merge "Updated ambiguous comment in pthread_mutex_lock."
-rw-r--r--libc/bionic/pthread_mutex.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/bionic/pthread_mutex.cpp b/libc/bionic/pthread_mutex.cpp
index 27ed3e11d..bed03accb 100644
--- a/libc/bionic/pthread_mutex.cpp
+++ b/libc/bionic/pthread_mutex.cpp
@@ -451,7 +451,7 @@ int pthread_mutex_lock(pthread_mutex_t* mutex) {
mtype = (mvalue & MUTEX_TYPE_MASK);
shared = (mvalue & MUTEX_SHARED_MASK);
- /* Handle normal case first */
+ /* Handle non-recursive case first */
if ( __predict_true(mtype == MUTEX_TYPE_BITS_NORMAL) ) {
_normal_lock(mutex, shared);
return 0;