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                                               j...@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 majord...@freebsd.org
with "unsubscribe freebsd-current" in the body of the message

Reply via email to