mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-08 22:30:07 +00:00
* 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.
This commit is contained in:
parent
e2b1e34312
commit
2c9718f3b3
@ -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.
|
||||
|
@ -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…
Reference in New Issue
Block a user