linuxthreads tst-cancel4.c et al.

David S. Miller davem@davemloft.net
Mon Apr 11 20:56:00 GMT 2005


On Mon, 11 Apr 2005 13:42:30 -0700
Roland McGrath <roland@redhat.com> wrote:

> I haven't read over those tests.  Is the need just for some syscall that
> will block?  Or is it testing that write returns a proper short write count?
> If just the former, then there are easy ways to block.  e.g., a pipe read
> with noone writing.

It is specifically testing cancellation on the write() system
call, so it really does need to specifically do a blocking
write().  As others have mentioned, some other cancellation
test cases have the same exact problem.



More information about the Libc-alpha mailing list