Date: Sun, 1 Feb 1998 17:25:39 -0800 (PST) From: Jun-ichiro Itoh <itojun@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-ports@FreeBSD.ORG Subject: cvs commit: ports/comms/hylafax/patches patch-ab Message-ID: <199802020125.RAA01690@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
itojun 1998/02/01 17:25:38 PST
Modified files:
comms/hylafax/patches patch-ab
Log:
fix for new select() behavior in FreeBSD-current.
(change made on 97dec)
comment from Lars follows:
Included is an updated patch-ab file for hylafax for current that
fixes the busywait that occurred once the fifo_poll() fix went into
the kernel in December.
The symptoms were that faxqetty and faxq would chew up an inordinate
amount of time waiting for input form their FIFOS. Basically the
kernel fix was to make select() return a 1 on EOF (in accordance
with POSIX) and for read() to keep returning 0 on EOF (which is
the state you are in if you open the fifo for reading in non-blocking
mode and there are no writers).
Reviewed by: asami
Submitted by: Lars Fredriksen <lars@fredriks-1.pr.mcs.net>
Revision Changes Path
1.4 +21 -5 ports/comms/hylafax/patches/patch-ab
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199802020125.RAA01690>
