9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Richard Uhtenwoldt <ru@river.org>
To: 9fans@cse.psu.edu
Subject: [9fans] name resolution
Date: Thu, 18 Sep 2003 10:21:17 -0700	[thread overview]
Message-ID: <E1A02Sz-0001Vz-00@woo> (raw)

>Nah, if the program isn't event driven, a signal still ought to be able
>to interrupt the syscall.  Lynx probably just doesn't bother.

that's right: during a name resolution in Lynx, sig intr (^c) and sig
susp (^z) have their usual effect: namely, sig intr kills the Lynx.

because the ftp command does so, it is almost certain that Lynx
_could_ have a handler (terminology?) that customizes the behavior of
sig intr.  in particular, if ftp is blocked on a name lookup, sig intr
gets you right back to the command prompt.

but like you say they did not bother.


>Plan 9 has a much better bug: if a fileserver doesn't answer 9p messages,
>a communicating process blocked in read/write never gets unblocked and
>can't be killed with a signal.  Sigh.

I'm curious whether _that_ is because no one has bothered (to fix it)
or because previous design and implementation decisions make fixing
it really awkward.

if a fileserver doesn't answer 9p messages,
can a signal (note) kill the _parent_ of the blocked process?

can the parent be made to handle a signal by killing the child?
(I hope that's clear!)


             reply	other threads:[~2003-09-18 17:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-18 17:21 Richard Uhtenwoldt [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-09-17 23:30 Richard Uhtenwoldt
2003-09-18  1:05 ` Scott Schwartz
2003-09-18  1:17   ` Joel Salomon

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=E1A02Sz-0001Vz-00@woo \
    --to=ru@river.org \
    --cc=9fans@cse.psu.edu \
    /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).