This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: linuxthreads tst-cancel4.c et al.
- From: Roland McGrath <roland at redhat dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: Daniel Jacobowitz <drow at false dot org>,"David S. Miller" <davem at davemloft dot net>,libc-alpha at sources dot redhat dot com
- Date: Mon, 11 Apr 2005 13:55:47 -0700
- Subject: Re: linuxthreads tst-cancel4.c et al.
Probably it works to use socketpair (AF_UNIX or AF_INET shouldn't really
matter) and then setsockopt/getsockopt to give a low SO_SNDBUF/SO_RCVBUF
and see what it actually is after the kernel applies its minimum, then
write something definitely bigger than that buffering.