Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
* sysdeps/pthread/pthread.h: Fix typo in comment.
  • Loading branch information
Ulrich Drepper committed May 29, 2008
1 parent d6296e8 commit e4d6e7f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions nptl/ChangeLog
@@ -1,3 +1,7 @@
2008-05-17 Samuel Thibault <samuel.thibault@ens-lyon.org>

* sysdeps/pthread/pthread.h: Fix typo in comment.

2008-05-28 Ulrich Drepper <drepper@redhat.com>

* sysdeps/pthread/createthread.c (do_clone): Pass accurate length
Expand Down
8 changes: 4 additions & 4 deletions nptl/sysdeps/pthread/pthread.h
@@ -1,4 +1,4 @@
/* Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007
/* Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008
Free Software Foundation, Inc.
This file is part of the GNU C Library.
Expand Down Expand Up @@ -122,12 +122,12 @@ enum

/* Read-write lock initializers. */
# define PTHREAD_RWLOCK_INITIALIZER \
{ { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } }
{ { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } }
# ifdef __USE_GNU
# if __WORDSIZE == 64
# define PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP \
{ { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, \
PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP } }
PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP, 0 } }
# else
# if __BYTE_ORDER == __LITTLE_ENDIAN
# define PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP \
Expand Down Expand Up @@ -399,7 +399,7 @@ extern int pthread_attr_getaffinity_np (__const pthread_attr_t *__attr,


/* Initialize thread attribute *ATTR with attributes corresponding to the
already running thread TH. It shall be called on unitialized ATTR
already running thread TH. It shall be called on uninitialized ATTR
and destroyed with pthread_attr_destroy when no longer needed. */
extern int pthread_getattr_np (pthread_t __th, pthread_attr_t *__attr)
__THROW __nonnull ((2));
Expand Down

0 comments on commit e4d6e7f

Please sign in to comment.