diff options
author | Brigid Smith <brigidsmith@google.com> | 2014-05-28 11:45:48 -0700 |
---|---|---|
committer | Brigid Smith <brigidsmith@google.com> | 2014-05-28 11:48:49 -0700 |
commit | ff03a7aaade5826e3708f6e320d0612d4cdbdb72 (patch) | |
tree | 9cffe1df338bcf3c0e0b65458538b2ee8fb3f150 /libc/bionic/pthread_mutex.cpp | |
parent | 1454ff2574f0bee9fb3646c9c6dd30443e0dbd38 (diff) | |
download | android_bionic-ff03a7aaade5826e3708f6e320d0612d4cdbdb72.tar.gz android_bionic-ff03a7aaade5826e3708f6e320d0612d4cdbdb72.tar.bz2 android_bionic-ff03a7aaade5826e3708f6e320d0612d4cdbdb72.zip |
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
Diffstat (limited to 'libc/bionic/pthread_mutex.cpp')
-rw-r--r-- | libc/bionic/pthread_mutex.cpp | 2 |
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; |