From ff03a7aaade5826e3708f6e320d0612d4cdbdb72 Mon Sep 17 00:00:00 2001 From: Brigid Smith Date: Wed, 28 May 2014 11:45:48 -0700 Subject: [PATCH] Updated ambiguous comment in pthread_mutex_lock. The comment used the phrase "normal case" when it more specifically refers to the "recursive case," so I changed it to that. Change-Id: I8335cce4dee933c6a463aee653b28bd986b5b5e4 --- libc/bionic/pthread_mutex.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;