From owner-freebsd-current Tue Apr 13 16:25:22 1999 Delivered-To: freebsd-current@freebsd.org Received: from wall.polstra.com (rtrwan160.accessone.com [206.213.115.74]) by hub.freebsd.org (Postfix) with ESMTP id 4179214F24 for ; Tue, 13 Apr 1999 16:25:15 -0700 (PDT) (envelope-from jdp@polstra.com) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.9.3/8.9.1) with ESMTP id QAA18241; Tue, 13 Apr 1999 16:22:55 -0700 (PDT) (envelope-from jdp@polstra.com) Received: (from jdp@localhost) by vashon.polstra.com (8.9.3/8.9.1) id QAA75716; Tue, 13 Apr 1999 16:22:55 -0700 (PDT) (envelope-from jdp@polstra.com) Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <199904132249.SAA20531@pcnet1.pcnet.com> Date: Tue, 13 Apr 1999 16:22:55 -0700 (PDT) Organization: Polstra & Co., Inc. From: John Polstra To: Daniel Eischen Subject: Re: cvsup Cc: current@FreeBSD.ORG Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Daniel Eischen wrote: > John Polstra wrote: > >> My hunch is that it's not a fairness issue. It's just the fact that >> when you block in disk I/O, the whole process (all threads) blocks. > > That statement made me think that Modula-3 had it's own threading > support because our native threads using non-blocking file I/O. For disk I/O? Are you sure? If so then it must use the aio/lio calls or something similar. Disk I/O calls _always_ block, even if you've set O_NONBLOCK on the file descriptor. John --- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Self-interest is the aphrodisiac of belief." -- James V. DeLong To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message