The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: peter@rulingia.com (Peter Jeremy)
Subject: [TUHS] Synchronous vs Asynchronous IO in Unix
Date: Sun, 20 Sep 2015 14:38:58 +1000	[thread overview]
Message-ID: <20150920043858.GA71754@server.rulingia.com> (raw)

Why were the original read(2) and write(2) system calls written to offer
synchronous I/O only?  It's relatively easy to create synchronous I/O
functions given asynchronous I/O primitives but it's impossible to do the
opposite.

Multics (at least) supported asynchronous I/O so the concept wasn't novel.
And any multi-tasking kernel has to support asynchronous I/O internally so
suitable code exists in the kernel.

-- 
Peter Jeremy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 949 bytes
Desc: not available
URL: <http://minnie.tuhs.org/pipermail/tuhs/attachments/20150920/ac6337df/attachment.sig>


             reply	other threads:[~2015-09-20  4:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-20  4:38 Peter Jeremy [this message]
2015-09-20 12:39 Noel Chiappa
2015-09-20 14:32 ` Larry McVoy
2015-09-20 14:41   ` Larry McVoy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150920043858.GA71754@server.rulingia.com \
    --to=peter@rulingia.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).