From b66a0038ca5c50185270f8a6f2ae67b2580c0833 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Sat, 18 Feb 2017 16:35:36 -0800 Subject: [PATCH] Fix a comment in the pthread_cond_t implementation. Bug: http://b/34592766 Test: N/A Change-Id: I341f837dca52865ae5f8fe9ff50ba8999e297179 --- libc/bionic/pthread_cond.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libc/bionic/pthread_cond.cpp b/libc/bionic/pthread_cond.cpp index c35d9f159..cbe67f94a 100644 --- a/libc/bionic/pthread_cond.cpp +++ b/libc/bionic/pthread_cond.cpp @@ -49,10 +49,10 @@ // XXX then the signal will be lost. // We use one bit in pthread_condattr_t (long) values as the 'shared' flag -// and one bit for the clock type (CLOCK_REALTIME is ((clockid_t) 1), and -// CLOCK_MONOTONIC is ((clockid_t) 0).). The rest of the bits are a counter. +// and one bit for the clock type (CLOCK_REALTIME is 0 and +// CLOCK_MONOTONIC is 1). The rest of the bits are a counter. // -// The 'value' field pthread_cond_t has the same layout. +// The 'value' field in pthread_cond_t has the same layout. #define COND_SHARED_MASK 0x0001 #define COND_CLOCK_MASK 0x0002 -- 2.11.0