From owner-freebsd-current Tue Apr 13 16:53:52 1999 Delivered-To: freebsd-current@freebsd.org Received: from pcnet1.pcnet.com (pcnet1.pcnet.com [204.213.232.3]) by hub.freebsd.org (Postfix) with ESMTP id 82A4C14CC7 for ; Tue, 13 Apr 1999 16:53:49 -0700 (PDT) (envelope-from eischen@vigrid.com) Received: (from eischen@localhost) by pcnet1.pcnet.com (8.8.7/PCNet) id TAA27490; Tue, 13 Apr 1999 19:50:54 -0400 (EDT) Date: Tue, 13 Apr 1999 19:50:54 -0400 (EDT) From: Daniel Eischen Message-Id: <199904132350.TAA27490@pcnet1.pcnet.com> To: eischen@vigrid.com, jdp@polstra.com Subject: Re: cvsup Cc: current@FreeBSD.ORG Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG John Polstra wrote: > > 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. No it doesn't use aio/lio (although I was recently thinking about trying it). It uses select for I/O readiness, then read/write on O_NONBLOCK files. Dan Eischen eischen@vigrid.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message