This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]