This is the mail archive of the libc-alpha@sources.redhat.com 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: linuxthreads tst-cancel4.c et al.


On Mon, Apr 11, 2005 at 01:42:30PM -0700, Roland McGrath 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.

cancel17 is testing cancellation through aio_read and aio_write
separately; it used a pipe to make aio_write block.

-- 
Daniel Jacobowitz
CodeSourcery, LLC


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