[PATCH] don't check error return for pthread_cancel in tst-cond25
Jeff Law
law@redhat.com
Wed Oct 17 17:06:00 GMT 2012
On 10/17/2012 02:54 AM, Siddhesh Poyarekar wrote:
> Hi,
>
> The tst-cond25 test case I had put in had a check for return value of
> pthread_cancel and a subsequent failure if it is non-zero. This is
> wrong since the thread being cancelled could have exited by the time it
> was cancelled. Attached patch removes the check. OK to commit?
>
>
> Siddhesh
>
> nptl/ChangeLog:
>
> * tst-cond25 (do_test_wait): Don't check for return value from
> pthread_cancel.
This is fine.
Thanks,
Jeff
More information about the Libc-alpha
mailing list