[PATCH] don't check error return for pthread_cancel in tst-cond25

Siddhesh Poyarekar siddhesh@redhat.com
Wed Oct 17 08:55:00 GMT 2012


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tstcond25.patch
Type: text/x-patch
Size: 481 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20121017/4ac29c66/attachment.bin>


More information about the Libc-alpha mailing list