mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-08 14:20:07 +00:00
Fix comment typos.
This commit is contained in:
parent
5d5732b0dc
commit
c5be0f71d9
@ -1,3 +1,12 @@
|
|||||||
|
2011-01-19 Roland McGrath <roland@redhat.com>
|
||||||
|
|
||||||
|
* pthread_cond_wait.c (__pthread_cond_wait): Fix comment typo.
|
||||||
|
* pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
|
||||||
|
* pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Likewise.
|
||||||
|
* pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock): Likewise.
|
||||||
|
* pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock): Likewise.
|
||||||
|
* pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Likewise.
|
||||||
|
|
||||||
2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
|
2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
|
||||||
|
|
||||||
* Makefile (test-extras): Add tst-cleanup4aux.
|
* Makefile (test-extras): Add tst-cleanup4aux.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2003, 2004, 2007, 2010 Free Software Foundation, Inc.
|
/* Copyright (C) 2003,2004,2007,2010,2011 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Martin Schwidefsky <schwidefsky@de.ibm.com>, 2003.
|
Contributed by Martin Schwidefsky <schwidefsky@de.ibm.com>, 2003.
|
||||||
|
|
||||||
@ -65,7 +65,7 @@ __pthread_cond_timedwait (cond, mutex, abstime)
|
|||||||
int pshared = (cond->__data.__mutex == (void *) ~0l)
|
int pshared = (cond->__data.__mutex == (void *) ~0l)
|
||||||
? LLL_SHARED : LLL_PRIVATE;
|
? LLL_SHARED : LLL_PRIVATE;
|
||||||
|
|
||||||
/* Make sure we are along. */
|
/* Make sure we are alone. */
|
||||||
lll_lock (cond->__data.__lock, pshared);
|
lll_lock (cond->__data.__lock, pshared);
|
||||||
|
|
||||||
/* Now we can release the mutex. */
|
/* Now we can release the mutex. */
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2003, 2004, 2006, 2007 Free Software Foundation, Inc.
|
/* Copyright (C) 2003,2004,2006,2007,2011 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Martin Schwidefsky <schwidefsky@de.ibm.com>, 2003.
|
Contributed by Martin Schwidefsky <schwidefsky@de.ibm.com>, 2003.
|
||||||
|
|
||||||
@ -101,7 +101,7 @@ __pthread_cond_wait (cond, mutex)
|
|||||||
int pshared = (cond->__data.__mutex == (void *) ~0l)
|
int pshared = (cond->__data.__mutex == (void *) ~0l)
|
||||||
? LLL_SHARED : LLL_PRIVATE;
|
? LLL_SHARED : LLL_PRIVATE;
|
||||||
|
|
||||||
/* Make sure we are along. */
|
/* Make sure we are alone. */
|
||||||
lll_lock (cond->__data.__lock, pshared);
|
lll_lock (cond->__data.__lock, pshared);
|
||||||
|
|
||||||
/* Now we can release the mutex. */
|
/* Now we can release the mutex. */
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2003, 2004, 2007 Free Software Foundation, Inc.
|
/* Copyright (C) 2003,2004,2007,2011 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Martin Schwidefsky <schwidefsky@de.ibm.com>, 2003.
|
Contributed by Martin Schwidefsky <schwidefsky@de.ibm.com>, 2003.
|
||||||
|
|
||||||
@ -31,7 +31,7 @@ __pthread_rwlock_rdlock (rwlock)
|
|||||||
{
|
{
|
||||||
int result = 0;
|
int result = 0;
|
||||||
|
|
||||||
/* Make sure we are along. */
|
/* Make sure we are alone. */
|
||||||
lll_lock (rwlock->__data.__lock, rwlock->__data.__shared);
|
lll_lock (rwlock->__data.__lock, rwlock->__data.__shared);
|
||||||
|
|
||||||
while (1)
|
while (1)
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2003, 2004, 2007 Free Software Foundation, Inc.
|
/* Copyright (C) 2003,2004,2007,2011 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Martin Schwidefsky <schwidefsky@de.ibm.com>, 2003.
|
Contributed by Martin Schwidefsky <schwidefsky@de.ibm.com>, 2003.
|
||||||
|
|
||||||
@ -32,7 +32,7 @@ pthread_rwlock_timedrdlock (rwlock, abstime)
|
|||||||
{
|
{
|
||||||
int result = 0;
|
int result = 0;
|
||||||
|
|
||||||
/* Make sure we are along. */
|
/* Make sure we are alone. */
|
||||||
lll_lock(rwlock->__data.__lock, rwlock->__data.__shared);
|
lll_lock(rwlock->__data.__lock, rwlock->__data.__shared);
|
||||||
|
|
||||||
while (1)
|
while (1)
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2003, 2004, 2007 Free Software Foundation, Inc.
|
/* Copyright (C) 2003,2004,2007,2011 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Martin Schwidefsky <schwidefsky@de.ibm.com>, 2003.
|
Contributed by Martin Schwidefsky <schwidefsky@de.ibm.com>, 2003.
|
||||||
|
|
||||||
@ -32,7 +32,7 @@ pthread_rwlock_timedwrlock (rwlock, abstime)
|
|||||||
{
|
{
|
||||||
int result = 0;
|
int result = 0;
|
||||||
|
|
||||||
/* Make sure we are along. */
|
/* Make sure we are alone. */
|
||||||
lll_lock (rwlock->__data.__lock, rwlock->__data.__shared);
|
lll_lock (rwlock->__data.__lock, rwlock->__data.__shared);
|
||||||
|
|
||||||
while (1)
|
while (1)
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2003, 2007 Free Software Foundation, Inc.
|
/* Copyright (C) 2003,2007,2011 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Martin Schwidefsky <schwidefsky@de.ibm.com>, 2003.
|
Contributed by Martin Schwidefsky <schwidefsky@de.ibm.com>, 2003.
|
||||||
|
|
||||||
@ -31,7 +31,7 @@ __pthread_rwlock_wrlock (rwlock)
|
|||||||
{
|
{
|
||||||
int result = 0;
|
int result = 0;
|
||||||
|
|
||||||
/* Make sure we are along. */
|
/* Make sure we are alone. */
|
||||||
lll_lock (rwlock->__data.__lock, rwlock->__data.__shared);
|
lll_lock (rwlock->__data.__lock, rwlock->__data.__shared);
|
||||||
|
|
||||||
while (1)
|
while (1)
|
||||||
|
Loading…
Reference in New Issue
Block a user