Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
* 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.
  • Loading branch information
Jakub Jelinek committed May 21, 2007
1 parent e2b1e34 commit 2c9718f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
5 changes: 5 additions & 0 deletions 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.
Expand Down
7 changes: 7 additions & 0 deletions nptl/tst-robust9.c
Expand Up @@ -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");
Expand Down

0 comments on commit 2c9718f

Please sign in to comment.