Re: sendfile() and NUMTHREADS questions

From: Adrian Chadd <adrian@dont-contact.us>
Date: Sun, 19 Dec 1999 12:42:01 +0100

On Sat, Dec 18, 1999, Henrik Nordstrom wrote:
> Doug Renner wrote:
>
> > Would it be a worthwhile hack to make a sendfile() compliant ftp.c?
>
> What is sendfile()?
>
> If you are talking about the Linux syscall sendfile() then it is
> probably not a good idea. As far I can tell it requires Squid to block
> until the sendfile() call has completed, and is only implemented on
> Linux.

FreeBSD has a similar syscall. You can use the FreeBSD one in non-blocking
mode if you wished, although I haven't tried it in non-blocking mode just
yet.

Adrian

-- 
Adrian Chadd					Systems Engineer
<adrian@ip.versatel.net>			Versatel Telecom BV
						Amsterdam, The Netherlands
	"Music in the soul can be heard by the universe" - Lao Tsu
Received on Sun Dec 19 1999 - 04:50:39 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:49:56 MST