This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] don't check error return for pthread_cancel in tst-cond25
- From: Roland McGrath <roland at hack dot frob dot com>
- To: Siddhesh Poyarekar <siddhesh at redhat dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Wed, 17 Oct 2012 08:00:02 -0700 (PDT)
- Subject: Re: [PATCH] don't check error return for pthread_cancel in tst-cond25
- References: <20121017142430.33458169@spoyarek>
If you wanted to be tighter about it, you could check that it only fails
with the error code designated for the already-exited-but-joinable case.
But pthread_cancel return values is not what the test is about, so the
change you sent is fine as is.
Thanks,
Roland