From: Clem Cole <clemc@ccc.com>
To: Ronald Natalie <ron@ronnatalie.com>
Cc: TUHS main list <tuhs@minnie.tuhs.org>, Paul Ruizendaal <pnr@planet.nl>
Subject: Re: [TUHS] V6 networking & alarm syscall
Date: Fri, 11 Jan 2019 13:45:39 -0500 [thread overview]
Message-ID: <CAC20D2Ni4jvA9POZKaQx6O_Dq=Nq5TfdLgbr__oWgrXme=+GHg@mail.gmail.com> (raw)
In-Reply-To: <1581c01d4a9c2$ffed5340$ffc7f9c0$@ronnatalie.com>
[-- Attachment #1: Type: text/plain, Size: 1633 bytes --]
On Fri, Jan 11, 2019 at 10:34 AM <ron@ronnatalie.com> wrote:
> A bigger networking issue was select() (or the like). It used to be an
> interesting kludge of running two processes inorder to do simoultaneous
> read/write before that.
>
Right and select(2) was created by Sam and wnj during the 4.2 development.
I've forgotten which sub-version (it was in 4.1c, but it might have been in
b or a before that). There was a lot of arguing at the time about it's
need; the multiple process solution was considered more 'Unix-like.' I
remember one time have a few beers in my apartment with Sam while watching
a football game and arguing about its usefulness. Adding select(2) was an
example of where CSRG was adding things to UNIX for the DARPA community.
IIRC: previous PDP-10 system had something like it and of course VMS had
qio() which did not block; some of the users at an advisors meeting had
wanted some alaong. I also remember after it ws prototyped, some people
complaining that with select(2) people would start to right code that
looped and waste cycles. BTW: sure enough, about a year or two later,
X-Windows appears with its keyboard/mouse loop. The argument on a
workstation (personal computer) was it did not matter. The argument on a
vax or other typeshared machine, was that the CPU was being wasted and any
type polling loop in users space was a bad idea.
FWIW: a few years later, System V (I think SRV3, but I've forgotten) introduced
poll(2) as a reaction to BSD's select(2). [IMO: That was NIH if I ever
saw it - similar but different because they could].
Clem
ᐧ
[-- Attachment #2: Type: text/html, Size: 3646 bytes --]
next prev parent reply other threads:[~2019-01-11 18:46 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-10 23:12 Paul Ruizendaal
2019-01-11 0:17 ` Clem cole
2019-01-11 15:33 ` ron
2019-01-11 18:45 ` Clem Cole [this message]
2019-01-11 19:06 ` David
2019-01-11 22:08 ` reed
2019-01-11 22:18 ` Larry McVoy
2019-01-12 12:04 ` reed
2019-01-12 17:20 ` Clem Cole
2019-01-12 18:16 ` Eric Allman
2019-01-13 1:16 ` Madeline Autumn-Rose
2019-01-11 22:47 ` Clem Cole
2019-01-11 22:55 ` Eric Allman
2019-01-11 23:32 ` Warner Losh
2019-01-11 23:27 Paul Ruizendaal
2019-01-12 1:24 Noel Chiappa
2019-01-12 1:58 ` Dave Horsfall
2019-01-12 2:33 ` Warner Losh
2019-01-12 4:14 Noel Chiappa
[not found] <mailman.1.1547258402.6716.tuhs@minnie.tuhs.org>
2019-01-12 11:13 ` Paul Ruizendaal
2019-01-13 10:52 Paul Ruizendaal
2019-01-13 15:39 ` Warner Losh
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='CAC20D2Ni4jvA9POZKaQx6O_Dq=Nq5TfdLgbr__oWgrXme=+GHg@mail.gmail.com' \
--to=clemc@ccc.com \
--cc=pnr@planet.nl \
--cc=ron@ronnatalie.com \
--cc=tuhs@minnie.tuhs.org \
/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).