The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: Dave Horsfall <dave@horsfall.org>
To: The Eunuchs Hysterical Society <tuhs@tuhs.org>
Subject: Re: [TUHS] non-blocking IO
Date: Fri, 12 Jun 2020 18:18:30 +1000 (EST)	[thread overview]
Message-ID: <alpine.BSF.2.21.9999.2006121758410.44790@aneurin.horsfall.org> (raw)
In-Reply-To: <CAEoi9W5svk9oATzkHQNrPOcFii6p7vbd+rYMFBopiqnvrXzMkQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1501 bytes --]

On Fri, 5 Jun 2020, Dan Cross wrote:

> Was it Rob who said that signals were really just for SIGKILL? Here, 
> signals would be gang-pressed into service as a general IPC mechanism. 
> In fairness, they've mutated that way, but they didn't start out that 
> way. While I obviously wasn't there, the strong impression I get is that 
> by the time people were seriously thinking about async IO in Unix, the 
> die had already been cast for better or worse.

I will quite happily strangle anyone who uses signals for IPC.

Why?

I got bitten quite badly by that, if anyone here remembers BSD/OS...  It 
seemed that "fdump" forked off several kiddies, and they chatted amongst 
themselves using signals.

Anyway, let's just say that after a disk crash this was a poor time to 
discover that *some* of my backups were screwed in a weird way; for 
example, there was a 1/4" QIC[*] tape with files, but no inodes to put 
them into their corresponding home directories...

I wrote something to extract whatever I could, excavate what I could, and 
then either rebuild or rely upon memory from there.  Not fun.

Did I mention that I will quite happily strangle anyone who uses signals 
for IPC?  Signals mean "stop what you're doing now, do this instead, then 
hopefully go back to whatever you thought you were doing".

[*]
Don't ask me about those !@#$% QIC tapes, that chose to use whatever 
density they wished depending upon the phase of the moon etc.

-- Dave, who lost a lot of valuable files that day

  reply	other threads:[~2020-06-12  8:19 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-31 11:09 Paul Ruizendaal
2020-05-31 16:05 ` Clem Cole
2020-05-31 16:46   ` Warner Losh
2020-05-31 22:01     ` Rob Pike
2020-06-01  3:32       ` Dave Horsfall
2020-06-01 14:58         ` Larry McVoy
2020-06-04  9:04           ` Peter Jeremy
2020-06-04 14:19             ` Warner Losh
2020-06-04 16:34               ` Tony Finch
2020-06-04 16:50               ` Larry McVoy
2020-06-05 16:00                 ` Dan Cross
2020-06-12  8:18                   ` Dave Horsfall [this message]
2020-06-01 16:58     ` Heinz Lycklama
2020-06-01 23:17 Noel Chiappa
2020-06-02  0:08 Noel Chiappa
2020-06-02  8:22 Paul Ruizendaal
2020-06-02 14:19 Paul Ruizendaal
2020-06-02 17:45 ` Paul Winalski
2020-06-02 17:59   ` arnold
2020-06-02 18:53     ` Paul Winalski
2020-06-02 19:18       ` Clem Cole
2020-06-02 21:15         ` Lawrence Stewart
2020-06-02 18:23   ` Dan Cross
2020-06-02 18:56     ` Paul Winalski
2020-06-02 19:23       ` Clem Cole
2020-06-02 20:13 Noel Chiappa
2020-06-02 20:43 ` Clem Cole
2020-06-02 22:14   ` Rich Morin
2020-06-03 16:31     ` Paul Winalski
2020-06-03 19:19       ` John P. Linderman
2020-06-06 13:29 Noel Chiappa

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=alpine.BSF.2.21.9999.2006121758410.44790@aneurin.horsfall.org \
    --to=dave@horsfall.org \
    --cc=tuhs@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).