Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Apr 1999 19:50:54 -0400 (EDT)
From:      Daniel Eischen <eischen@vigrid.com>
To:        eischen@vigrid.com, jdp@polstra.com
Cc:        current@FreeBSD.ORG
Subject:   Re: cvsup
Message-ID:  <199904132350.TAA27490@pcnet1.pcnet.com>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199904132350.TAA27490>