mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +08:00
Don't check error return for pthread_cancel in tst-cond25
This commit is contained in:
parent
9485a40444
commit
37785907d5
@ -1,3 +1,8 @@
|
||||
2012-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
|
||||
|
||||
* tst-cond25 (do_test_wait): Don't check for return value from
|
||||
pthread_cancel.
|
||||
|
||||
2012-10-16 Siddhesh Poyarekar <siddhesh@redhat.com>
|
||||
|
||||
[BZ #14652]
|
||||
|
@ -228,11 +228,7 @@ do_test_wait (thr_func f)
|
||||
|
||||
for (j = 0; j < NUM; j++)
|
||||
{
|
||||
if ((ret = pthread_cancel (w[j])) != 0)
|
||||
{
|
||||
printf ("waiter[%d]: cancel failed: %s\n", j, strerror (ret));
|
||||
goto out;
|
||||
}
|
||||
pthread_cancel (w[j]);
|
||||
|
||||
if ((ret = pthread_join (w[j], &thr_ret)) != 0)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user