Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Apr 1999 16:22:55 -0700 (PDT)
From:      John Polstra <jdp@polstra.com>
To:        Daniel Eischen <eischen@vigrid.com>
Cc:        current@FreeBSD.ORG
Subject:   Re: cvsup
Message-ID:  <XFMail.990413162255.jdp@polstra.com>
In-Reply-To: <199904132249.SAA20531@pcnet1.pcnet.com>

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




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