From owner-cvs-lib Tue Apr 1 14:50:03 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id OAA09189 for cvs-lib-outgoing; Tue, 1 Apr 1997 14:50:03 -0800 (PST) Received: (from jb@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id OAA09180; Tue, 1 Apr 1997 14:50:01 -0800 (PST) Date: Tue, 1 Apr 1997 14:50:01 -0800 (PST) From: John Birrell Message-Id: <199704012250.OAA09180@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc_r/uthread uthread_fd.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jb 97/04/01 14:50:01 Modified: lib/libc_r/uthread uthread_fd.c Log: Make error checking less zealous to handle devices like /dev/null which don't provide a non-blocking interface. This is a short term "fix" which changes a half-lose to a half-win. The thread that accesses a device that does not provide a non-blocking interface will block for its time slice. A medium term solution would be to use rfork. A long-term solution would be some sort of kernel thread/SMP implementation. Revision Changes Path 1.4 +10 -2 src/lib/libc_r/uthread/uthread_fd.c