* sysdeps/pthread/pthread.h (PTHREAD_MUTEX_INITIALIZER,
commit3fd1bc67788c74950f994741142880d458dd6251
authorUlrich Drepper <drepper@redhat.com>
Mon, 11 Jul 2005 16:41:29 +0000 (11 16:41 +0000)
committerUlrich Drepper <drepper@redhat.com>
Mon, 11 Jul 2005 16:41:29 +0000 (11 16:41 +0000)
treec69b0920dad15c8aebbd0fdc0411efd4ee256bba
parent553185e2b0be6f37fef5ffed4ce8aba2ceaf1f29
* sysdeps/pthread/pthread.h (PTHREAD_MUTEX_INITIALIZER,

PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP,
PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP,
PTHREAD_MUTEX_ADAPTIVE_NP, PTHREAD_RWLOCK_INITIALIZER,
PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP,
PTHREAD_COND_INITIALIZER): Supply zeros for all fields
in the structure.
* Makefile (tests): Add tst-initializers1.
(CFLAGS-tst-initializers1.c): Set.
* tst-initializers1.c: New test.

2005-07-11  Jakub Jelinek  <jakub@redhat.com>
nptl/ChangeLog
nptl/Makefile
nptl/sysdeps/pthread/pthread.h
nptl/tst-initializers1.c [new file with mode: 0644]