Browse Source

* tst-robust9.c (do_test): Don't fail if ENABLE_PI and

pthread_mutex_init failed with ENOTSUP.
2007-05-21  Jakub Jelinek  <jakub@redhat.com>

	* tst-robust9.c (do_test): Don't fail if ENABLE_PI and
	pthread_mutex_init failed with ENOTSUP.
cvs/glibc-2_6-branch
Jakub Jelinek 19 years ago
parent
commit
2c9718f3b3
  1. 5
      nptl/ChangeLog
  2. 7
      nptl/tst-robust9.c

5
nptl/ChangeLog

@ -1,3 +1,8 @@
2007-05-21 Jakub Jelinek <jakub@redhat.com>
* tst-robust9.c (do_test): Don't fail if ENABLE_PI and
pthread_mutex_init failed with ENOTSUP.
2007-05-19 Ulrich Drepper <drepper@redhat.com>
* allocatestack.c (__wait_lookup_done): New function.

7
nptl/tst-robust9.c

@ -54,6 +54,13 @@ do_test (void)
}
#endif
err = pthread_mutex_init (&m, &ma);
#ifdef ENABLE_PI
if (err == ENOTSUP)
{
puts ("PI robust mutexes not supported");
return 0;
}
#endif
if (err)
{
puts ("pthread_mutex_init");

Loading…
Cancel
Save